in reply to File not posted to a HTTPS website
I'm sure you don't need to set Content_Length. HTTP::Request do all stuff for you automatically.
Also why you specify Content_Type two times?
And finally: why you place [] around $file?
Try this:
$ua->post( $upload_url, Content_Type=> 'application/vnd.ms-excel', Con +tent => $file );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File not posted to a HTTPS website
by KarthikK (Sexton) on Nov 07, 2007 at 07:13 UTC | |
by Corion (Patriarch) on Nov 07, 2007 at 07:30 UTC | |
by Anonymous Monk on Nov 07, 2007 at 10:01 UTC | |
by Corion (Patriarch) on Nov 07, 2007 at 10:07 UTC | |
by KarthikK (Sexton) on Nov 07, 2007 at 10:56 UTC | |
|