Jack Yang wrote: > Here is the code
<snip> > > my $response = $agent->request( > POST 'http://www.upload.com/upload.pl', Content_Type > => 'form-data', Content => [ Button => 'Submit', > > myFile => ["./$file",$file ], ] > ); Don't you need a content type of multipart/ as well? i.e. Content_Type => 'multipart/form-data' not Content_Type => 'form-data' Francis -- Francis Turner, CIO Juelich Enzyme Products GmbH http://www.juelich-enzyme.com/ +49-173-291-7278 If you're not part of the solution, you're part of the precipitate. -- Henry J. Tillman
