User Tools

Site Tools


wget:test_download_url

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wget:test_download_url [2016/07/09 23:13] – created peterwget:test_download_url [2019/12/04 22:44] (current) – removed peter
Line 1: Line 1:
-====== wget - Test Download URL ====== 
- 
-When you are going to do scheduled download, you should check whether download will happen fine or not at scheduled time.  To do so, copy the line exactly from the schedule, and then add **<nowiki>-–spider</nowiki>** option to check. 
- 
-<code bash> 
-wget --spider DOWNLOAD-URL 
-</code> 
- 
-If the URL given is correct, it will say 
- 
- 
-<code> 
-Spider mode enabled. Check if remote file exists. 
-HTTP request sent, awaiting response... 200 OK 
-Length: unspecified [text/html] 
-<strong>Remote file exists</strong> and could contain further links, 
-but recursion is disabled -- not retrieving. 
-</code> 
- 
-This ensures that the downloading will get success at the scheduled time.  
- 
-But when you had give a wrong URL, you will get the following error. 
- 
-<code> 
-Spider mode enabled. Check if remote file exists. 
-HTTP request sent, awaiting response... 404 Not Found 
-<strong>Remote file does not exist -- broken link!!!</strong> 
-</code> 
- 
- 
-You can use the spider option under following scenarios: 
- 
-  * Check before scheduling a download. 
-  * Monitoring whether a website is available or not at certain intervals. 
-  * Check a list of pages from your bookmark, and find out which pages are still exists. 
- 
  
wget/test_download_url.1468105992.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki