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 );
In reply to Re: File not posted to a HTTPS website
by Gangabass
in thread File not posted to a HTTPS website
by KarthikK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |