MicrostockGroup

Microstock Photography Forum - General => Microstock Services => MicrostockSubmitter => Topic started by: Noedelhap on March 24, 2013, 23:24

Title: Weird filenames
Post by: Noedelhap on March 24, 2013, 23:24
Not sure if I ever asked this question, but whenever I upload a file, say "vector.eps", it changes the filename into something like: "429_cGVhcl9hbmdyeS5qcGc.eps"

Is it possible to keep the actual filename intact?
Title: Re: Weird filenames
Post by: Niakris on March 25, 2013, 02:54
Some filenames are not being accepted by stock FTPs (for example, cyrillic ones or containing special symbols). Exact list of the characters not accepted by each stock's FTP is not that quick and easy to determine so the program just renames all the files to the safe filenames.
Title: Re: Weird filenames
Post by: Noedelhap on March 25, 2013, 09:33
Some filenames are not being accepted by stock FTPs (for example, cyrillic ones or containing special symbols). Exact list of the characters not accepted by each stock's FTP is not that quick and easy to determine so the program just renames all the files to the safe filenames.

Okay, I understand, but I assume lowercase letters and numbers are widely accepted for filenames, so why not check for 'bad' filenames prior to uploading without destroying the original filename? For instance, the program could give an error message if the file contains anything other than letters, numbers and underscores.
Title: Re: Weird filenames
Post by: Niakris on March 25, 2013, 10:16
Because it is not really possible to detect filename that won't be accepted by each stock's FTP