in reply to HTML Form and Perl
I think what hasn't been mentioned so far is that the form doesn't have the elements that would make the browser actually upload the zipfile. Maybe I'm misunderstanding things completely... but I thought I'd mention it — just in case... :)
How is the file supposed to be transferred to the server? You say in your PHP code
echo " This program uploads a zip file via ftp to a server <br>";
Is that "ftp" to be taken literally? If so, what/who is performing the FTP transfer? Is this being done separately (manually) before the form is submitted? Or is the file meant to be uploaded via the browser / HTTP upon submitting the form?
In case of the latter, there would normally need to be an <input type="file" ... >, together with the enctype="multipart/form-data" within the <form> tag. In other words, as it is at the moment, one problem might be that nothing is really being uploaded, which would also explain why the unzipping doesn't work yet...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML Form and Perl
by Anonymous Monk on May 08, 2008 at 22:42 UTC | |
by almut (Canon) on May 09, 2008 at 00:34 UTC |