Forum Moderators: open

Message Too Old, No Replies

Rename image files on the fly

Trying to rename image files that are FTP'd from camera on the fly

         

richmaes

7:31 pm on Dec 24, 2004 (gmt 0)



I'm trying to use javascript to pick up images that have been ftp's to my server already. Unfortuantly, the camera renames the file with unique name (an incrementing date in the file name). What I want to do is rename the file (like a move command) By the way, the file names all start with a prefix that I can define, like "campics" files look like this then: "campics1224200412123212.jpg"
It seems like this should be easy, but I can't find an example of anything like this. Does Javascript not have the permissions to make file moves? Is it a security issue?
Thanks in advance

orion_rus

8:11 pm on Dec 25, 2004 (gmt 0)

10+ Year Member



Javascript can make so, u can make so only with server side scripting like perl, php or aspx, try search on these forums)
good luck to you