Code:
open ( CWFILE,">file.xls"
;
$URL = get("
print CWFILE "$URL\n\n";
close CWFILE;
When I do this though, the file is empty... So I went to my browser to check if the file exists, and it does... so thats good. I realized though that when I download the file in my browser, it is asking me for a username and password. Its easy to insert a username and password in my browser to download the file, but how do I do it using perl?
I tried adding the username and password to the query string, but that didn't work. There has to be a way to do it... Help!! =)
Thanks
-Jon
open ( CWFILE,">file.xls"
$URL = get("
print CWFILE "$URL\n\n";
close CWFILE;
When I do this though, the file is empty... So I went to my browser to check if the file exists, and it does... so thats good. I realized though that when I download the file in my browser, it is asking me for a username and password. Its easy to insert a username and password in my browser to download the file, but how do I do it using perl?
I tried adding the username and password to the query string, but that didn't work. There has to be a way to do it... Help!! =)
Thanks
-Jon