#!c:/perl/bin/Perl.exe use CGI::Carp "fatalsToBrowser"; use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent->new(); my $resp = $ua->request(POST 'http://192.168.0.248/cfg.html', Content_Type => 'form-data', 'SID' => 'xy00', 'id' => '56069145', 'file' => ["C:\Dokumente und Einstellungen\user\Desktop\myConfigFile.xml"]); my $content = $resp->content; print < $content HTML