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...
In reply to Re: HTML Form and Perl
by almut
in thread HTML Form and Perl
by workman_m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |