Batch Uploading - FTP Directory Batch Uploading - FTP Directory
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Batch Uploading - FTP Directory

Started by pctech, January 12, 2005, 03:33:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pctech

I am trying to batch upload pics. It is telling me that there are no file in the ftp directory. What directory is it looking in. (ie - where do I need to ftp the files to in order to batch add them)?

Thanks!

Nibbler

wow, I can't believe we left that out of the documentation ! - no, wait, we didn't , it's here. phew! :)

pctech

Hehe - well, after I posted this, I read down in the forum and found *that* answer. After creating the folder in /albums as instructed, I was able to get a step further. At first I got an error when uploading a .gif image, saying only jpeg was allowed, so I tried a jpeg and I get this error:

Warning: rename(./albums/ifree/top-header.jpg,./albums/ifree/top-header.jpg): Permission denied in /usr/home/greglee/public_html/pctech/gallery/addpic.php on line 39

Warning: imagejpeg(): Unable to open 'albums/ifree/thumb_top-header.jpg' for writing in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 218

Warning: chmod(): No such file or directory in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/ifree/thumb_top-header.jpg): failed to open stream: No such file or directory in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.

Thanks!

pctech

NEVERMIND! I feel like a dunce! After reading even further in the forum, I found I needed to change the permissions in my newly created folder and it works fine now. I would like to know this. Once I have used the batch upload, can I delete the images in my created folder or does it look in that folder for displaying my images?

Thanks

Nibbler

You have to leave them there, the files stay where you uploaded them to, and the links will point to them.