in reply to Query regarding HTTP:Request

Hi,

Please refer to HTTP::Request::Common. When you have files, you need to give the absolute path. so you may write like

$filename="$ENV{HOME}/testfile"; # File name with absolute path $req=POST 'https://www.abcd.com/fileUpload.aspx', Content_Type=>'form- +data', Content => [file1=>["$filename"],file4=>[""],file5=>[""]];
The post(...) method of "LWP::UserAgent" exists as a shortcut for $ua->request(POST ...).

Note: Code is NOT tested

Cheers !

--VC



There are three sides to any argument.....
your side, my side and the right side.