forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: bedford on November 13, 2007, 02:48:37 pm

Title: FTP and subdirectories problem
Post by: bedford on November 13, 2007, 02:48:37 pm
Hi all,

I've V1.4.10 installed and I'm trying to add files using Batch file. I've Uploaded files on the server using FTP in this structure:
albums/mydir/0
albums/mydir/1 - first dir
albums/mydir/2 - second dir
albums/mydir/3 - third dir

I then go in FTP=> then select mydir and then suprise ! there is nothing there. No subdir 0, 1....etc.

What's appening ? If I go to the other directories where I've the same structure, the subdirs are present and I can select them to pick the pictures and install them on a new album.

Please help me !!! I'm getting crazy. I've changed the rights of the directories, subdir and pictures but no way to get it to work.
Title: Re: FTP and subdirectories problem
Post by: Stramm on November 13, 2007, 03:32:21 pm
Please post a direct link to one of the files you're trying to batch add.
Title: Re: FTP and subdirectories problem
Post by: bedford on November 13, 2007, 03:39:19 pm
Hi,

try this one:

http://www.shopauto.ch/modules/photogallery/albums/riv07/0/IMG_5228.jpg

Thanks for your help.
Title: Re: FTP and subdirectories problem
Post by: Stramm on November 13, 2007, 06:04:27 pm
Update to the latest stable release 1.4.14
Title: Re: FTP and subdirectories problem
Post by: bedford on November 14, 2007, 10:48:34 am
Update to the latest stable release 1.4.14
Hi Stramm,

just installed 1.4.14 and runned update.php: didn't fix the problem.
I figured out that when the folder is created with the server admin password they aren't shown but if I copy the folder with the server utils (with httpd account) the folder are shown in Batch file processing.
Could be a right problem ? the batch listing seem not to see the folder if it is not the owner.
Bedford
Title: Re: FTP and subdirectories problem
Post by: Stramm on November 14, 2007, 11:02:02 am
You're right, looks like permission problems. Check permissions and owner of the 'server generated' dirs and appy these to your uploaded ones (chmod/ chown)
Title: Re: FTP and subdirectories problem
Post by: bedford on November 16, 2007, 03:25:59 pm
stange this need to change owner...permission is at 777 on dirs...
Anyway I did a copy from the server admin tool wich makes the new dirs owned by https then I could do it.

Anyway this seems a bug.

Cheers.
Title: Re: FTP and subdirectories problem
Post by: Stramm on November 16, 2007, 03:28:52 pm
no bug, that's actually your server setup. It doesn't allow php (other owner than your FTP uploads) to access/ modify your FTP uploads. If you wish another behaviour, change your server setup.
Title: Re: FTP and subdirectories problem
Post by: Joachim Müller on November 16, 2007, 04:20:12 pm
It's not wise to shout "bug" if you don't know your way around...