forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: kdm on June 23, 2006, 06:43:20 pm

Title: Batch Upload Bug
Post by: kdm on June 23, 2006, 06:43:20 pm
Batch upload function does not parse '.' in directory names.  In debug I got the following error:

Warning line 224: opendir(albums/batch/legosummer2k/): failed to open dir: No such file or directory

that's when I realized that my dir name was lego.summer.2k

Easiest solution was to remove the '.' from the directory name and it began reading properly :) Hope this helps some people.
Title: Re: Batch Upload Bug
Post by: kegobeer on June 23, 2006, 06:57:53 pm
File and directory names should not have any special or reserved characters in them.  You are not supposed to use a dot (.) in the file/directory name.  This is not a bug.
Title: Re: Batch Upload Bug
Post by: kdm on June 23, 2006, 07:26:01 pm
Whether or not it's a bug, some people may have the same issue :) 
Title: Re: Batch Upload Bug
Post by: Joachim Müller on July 03, 2006, 11:01:41 pm
People having the similar issue should read the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#batch_add_pics) first (important bit highlighted):
Quote
4.11.1 Uploading pics by FTP / Batch-Add Pictures

It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within your_coppermine_directory/albums/, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the albums folder that reflects or mirrors your coppermine categories and albums.

Important: do not create folders or ftp upload to the userpics- nor to the edit-folder by ftp: these folders are used by coppermine internally and must not be used for any other purpose! Folder names must not contain dots. We also highly recommend refraining from the use of any other special characters - use only a-z, numbers and - (dashes) or _ (underscores) to fill blank spaces. Make sure to upload in binary or auto-mode.