Gossamer Forum
Home : General : Perl Programming :

Moving images using CGI

Quote Reply
Moving images using CGI
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.
Subject Author Views Date
Thread Moving images using CGI PLB 3827 Aug 6, 2002, 8:10 PM
Thread Re: [PLB] Moving images using CGI
Dafyyd 3709 Aug 8, 2002, 2:05 AM
Thread Re: [giovanni] Moving images using CGI
PLB 3716 Aug 8, 2002, 9:58 AM
Thread Re: [PLB] Moving images using CGI
Dafyyd 3692 Aug 8, 2002, 10:28 AM
Post Re: [giovanni] Moving images using CGI
PLB 3670 Aug 8, 2002, 12:06 PM