Hi -
I need to get and put files onto a https server. The get is working OK with something like:
my $browser = LWP::UserAgent->new;
$browser->credentials(
$ENV{'HTTPS_SITE'},
$ENV{'HTTPS_REALM'},
$ENV{'HTTPS_USERNAME'} =>
$ENV{'HTTPS_PASSWORD'}
);
my $response = $browser->get($url_filename);
However, I don't understand how to put a file there. I have tried POST, but not really sure how this works as I have read a lot of articles talking about forms. Is this the correct command to use to upload a file?
Thanks
Jonathan