eatr
Technical User
- Jan 20, 2006
- 48
Trying to automate LWP to download some files
here's the code in question:
@args = ("lwp-download", " "C:\Documents and Settings\Administrator\Desktop\$trackdate.pdf");
system(@args) == 0
or die "system @args failed: $?"
I'm in the 'PERL' directory and want to download the files to another directory: C:\Documents and Settings\Administrator\Desktop\$trackdate.pdf";
as written, the correct file is downloaded to the PERL DIRECTORY an named: Documents and Settings\Administrator\Desktop\$trackdate.pdf
how would I get the file to download in the proper directory and get the proper name?
here's the code in question:
@args = ("lwp-download", " "C:\Documents and Settings\Administrator\Desktop\$trackdate.pdf");
system(@args) == 0
or die "system @args failed: $?"
I'm in the 'PERL' directory and want to download the files to another directory: C:\Documents and Settings\Administrator\Desktop\$trackdate.pdf";
as written, the correct file is downloaded to the PERL DIRECTORY an named: Documents and Settings\Administrator\Desktop\$trackdate.pdf
how would I get the file to download in the proper directory and get the proper name?