in reply to Re: Uploading files to a HTTPS server - 501 error
in thread Uploading files to a HTTPS server - 501 error
The web server is on the same system as the scripts. The browser is on a PC.
I am wondering if it is having problems loading the Crypt::SSLeay module when run from the browser. If i explicitly load this with "use", then the program crashes with no error messages when run from the browser, but works when run from the command line.
This is how the shell script is called via the browser
The script_name is the shell script which calls the perl script, and file_name is the file parameter to upload. The perl script gets the file_name paramter passed to it OK, as it can print it outhtp.formOpen(curl=><address>script_name.sh? file_name,cmethod=>'POST'); htp.formSubmit(NULL,'Upload Text File to Secure Server');
Maybe there is a better way of doing this directly from the browser, or maybe something needs configuring on the browser for https?
Thanks
Jonathan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Uploading files to a HTTPS server - 501 error
by iburrell (Chaplain) on Jun 15, 2004 at 22:41 UTC | |
by Anonymous Monk on Jun 16, 2004 at 11:42 UTC |