bionicle32 has asked for the wisdom of the Perl Monks concerning the following question:

I think I made a mistake with my last posting, but what I am wondering is if anyone has used CGI.pm to create an upload script? I did some research and kind of understand how to use uploadInfo(), basename(), and dirname(). I am hoping someone could give me a real world example with some sort of explanation. -Bionicle32

Replies are listed 'Best First'.
Re: Using CGI.pm for FTPing files
by chromatic (Archbishop) on Oct 23, 2003 at 21:20 UTC

    BazB was right in his answer to your previous question. CGI works over HTTP, which is a completely different protocol from FTP. You can upload files through HTTP, but it's very different from uploading files through FTP.

    If you were to explain what you were trying to accomplish, not how you think you might want to accomplish it, it would be easier to give you suggestions on how you could accomplish it. Something like "I want a user to be able to upload a small personal image to display on a web page without having to have an account on the web server" would be appropriate.

Re: Using CGI.pm for FTPing files
by Cody Pendant (Prior) on Oct 24, 2003 at 00:54 UTC