Post a Comment
Good lookin' out kid!
"FRANK:~/Desktop frank$ wget -vc http://download.parallels.com/GA/Parallels%20Desktop%203186...
I fell asleep retrying and retrying till I read your comment.
Best,
m.
Ah wget, is there anything it can't do?
The -v (verbose) option isn't usually needed, I think wget has that on by default.
Two other useful options for that sort of task are:
--timeout=10 --tries=10
(tells it to retry the file if the download is interrupted for 10 seconds and make 10 attempts)
Thanks, I've been wondering how to do that for AGES! (well, figuratively)
No prob. There are about million cool little tricks like that which can be done with wget. E.g., need to execute a remote PHP file on regular schedule? Just setup cron (or hell, even Windows task scheduler + wget.exe will work) to wget the php file using the --spider option (loads the file only, doesn't download it to disk).
It's also great for doing backups of websites via FTP. It can accept ftp URLs (ftp://user:password@ftp.server.com), it will get an entire site recursively using the --mirror option, and there's also the --timestamping option - which will only download files when the remote copy is newer than the local copy (so you can have up-to-date backups, without having to download the entire site each time).
I think it can even be used to automate form posting (or to test a form processing script for vulnerabilities by attempting to pass data to it directly). Although I've largely used curl for that task.



