I have a client that is trying to send us files and they'd like to do it over HTTPS using a standard POST.
I first tried using PERL CGI.pm, but this client is sending the actual file data in the post, and PERL CGI is expecting the call to come from an HTML form and come in name value pairs. Also, all of the PERL file upload scripts I can find examples of only accept a path to the file and then actually go into the computer that is making the POST and read the file off of that machines hard drive using read(). That method won't work in this case because the call is coming through several layers of proxy servers.
So basically I need a way (in PERL) to upload a file by accepting a post that contains file data and save that file to my server, not going out the originating machine and reading the file data from the hard drive.
I first tried using PERL CGI.pm, but this client is sending the actual file data in the post, and PERL CGI is expecting the call to come from an HTML form and come in name value pairs. Also, all of the PERL file upload scripts I can find examples of only accept a path to the file and then actually go into the computer that is making the POST and read the file off of that machines hard drive using read(). That method won't work in this case because the call is coming through several layers of proxy servers.
So basically I need a way (in PERL) to upload a file by accepting a post that contains file data and save that file to my server, not going out the originating machine and reading the file data from the hard drive.