I'm in a bit of a conundrum here...
Currently, I have the ambition to create a site featuring a lot of the photographs a few friends and I've taken in the last three years. Just so that there isn't any uncomfortable 'wondering' as to the content, they are from various amusement parks.
But again, that's not important.
The problem is that I have so many of them, that I want to be able to just dump them all (from an FTP program) into an 'upload' directory. Using a script I created, I want to be able to supply caption, date, etc. for each one, and subsequently dump it into a different directory. While I have the majority of this ironed out, when I try to transfer the jpgs from the 'upload' to the 'parks/$parkname' directory, only the filename (as an example, DCP_n.jpg, where N is a number) gets copied, and the picture gets lost.
In much simpler terms, when I try to copy the picture in the CGI script, I end up with solely a filename with a size of 0 bits.
Is there an efficient way to do this in a script?
Thanks for the help.
Currently, I have the ambition to create a site featuring a lot of the photographs a few friends and I've taken in the last three years. Just so that there isn't any uncomfortable 'wondering' as to the content, they are from various amusement parks.
But again, that's not important.
The problem is that I have so many of them, that I want to be able to just dump them all (from an FTP program) into an 'upload' directory. Using a script I created, I want to be able to supply caption, date, etc. for each one, and subsequently dump it into a different directory. While I have the majority of this ironed out, when I try to transfer the jpgs from the 'upload' to the 'parks/$parkname' directory, only the filename (as an example, DCP_n.jpg, where N is a number) gets copied, and the picture gets lost.
In much simpler terms, when I try to copy the picture in the CGI script, I end up with solely a filename with a size of 0 bits.
Is there an efficient way to do this in a script?
Thanks for the help.