this perl script is to download file from the server to client PC and it
can be done.
open(checkoutfile, $temp2) || die "Cannot open file";
print "Content-Disposition: attachment; filename=$filename1\n";
print "Content-Type: application/biller\n\n";
while(<checkoutfile>)
{
print "$_";
}
close(checkoutfile);
but after i add in a system() to run a dos command in perl before the above
script it come to an error. the script i insert like this:
$temp1 = "c:\\e-BX\\Repository\\In\\Rcs\\".$filename1;
$temp2 = "c:\\e-BX\\Repository\\Rcs\\".$filename1;
system("COPY $temp1 $temp2");
and it works to copy the file from location temp1 to temp2
but after this the another script to download the file to client PC didn't
work and return the error message: internal server error. Why and How i am
going to solve this problem?
can any 1 solve my problem?
kindly thank for you suggestion.
wendy
[EMAIL PROTECTED]
---
You are currently subscribed to perl-win32-users as: [[email protected]]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]