Copy one Folder to another Copy one Folder to another
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Copy one Folder to another

Started by Chefkochx, March 20, 2004, 03:02:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chefkochx

Hi I`ve uploaded some pics via FTP batch upload. But now I have to sort the folders...
Is it possible to copy one folder (via ftp or something) with some pics, to another folder? What I have to change in mysql? Is there a "easy way" to cange the file path because so I have to change the path for every pictures...
Please help me

Best regards
Chefkoch

Joachim Müller

once the pics are inside the database, moving the files and folders around on the server is not a good idea. There's no easy method to change things in the database as well. If you're familiar with phpMyAdmin, you can run queries there that reflect your changes - something likeUPDATE `cpg11d_pictures` SET `filepath` = 'another_folder/yet_another_subfolder/' WHERE `filepath` = 'some_folder/some_subfolder/';
If you decide to experiment with this, make sure you backed up everything (files and database) before you start to play with it.

GauGau