Didn't work but if I copy and paste same URL in browser it works fine. I get following error in WGET.
/**********************************************************/ DEBUG output created by Wget 1.11.4 on Windows-MinGW. Enqueuing http://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA %2FPage%2FEXTRANETDefaultLeadingPageLayout at depth 0 Queue count 1, maxcount 1. Dequeuing http://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA %2FPage%2FEXTRANETDefaultLeadingPageLayout at depth 0 Queue count 0, maxcount 1. Spider mode enabled. Check if remote file exists. --2009-11-25 11:07:53-- http://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA %2FPage%2FEXTRANETDefaultLeadingPageLayout Host `siebzd01' has not issued a general basic challenge. Resolving siebzd01... seconds 0.00, IP Caching siebzd01 => IP Connecting to siebzd01|IP|:80... seconds 0.00, connected. Created socket 1932. Releasing 0x003f81f0 (new refcount 1). ---request begin--- HEAD /servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA%2FPage%2FEXTRA NETDefaultLeadingPageLayout HTTP/1.0 User-Agent: Wget/1.11.4 Accept: */* Host: siebzd01 Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.0 400 Bad Request Server: Resin/3.0.3 Set-Cookie: JSESSIONID=aJgNfqzdmSr9; path=/ Content-Type: text/html; charset=UTF-8 Content-Length: 0 Date: Wed, 25 Nov 2009 00:08:53 GMT ---response end--- 400 Bad Request Stored cookie siebzd01 -1 (ANY) / <session> <insecure> [expiry none] JSESSIONID aJgNfqzdmSr9 Closed fd 1932 Remote file does not exist -- broken link!!! Found 1 broken link. http://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA %2FPage%2FEXTRANETDefaultLeadingPageLayout /***********************************************************/ Thanks for your reply. -----Original Message----- From: Tony Lewis [mailto:[email protected]] Sent: Wednesday, 25 November 2009 11:05 AM To: Amit Walia Cc: [email protected] Subject: RE: [Bug-wget] How to pass arguments in URL Try quoting the URL. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Amit Walia Sent: Tuesday, November 24, 2009 3:48 PM To: [email protected] Subject: RE: [Bug-wget] How to pass arguments in URL Hi, My website accept following URL. http://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=CUCA %2FPage%2FEXTRANETDefaultLeadingPageLayout I run following command. >wget --recursive --spider --user=USER --password=PASSWORD --level=2 --output-file=log.txt -nc h-t-t-p://siebzd01/servlet/Satellite?c=Page&cid=1163402950521&pagename=C UCA %2FPage%2FEXTRANETDefaultLeadingPageLayout -d But I am getting following error. /*****************************************************************/ Spider mode enabled. Check if remote file exists. --2009-11-25 10:34:48-- http://siebzd01/servlet/Satellite?c=Page Resolving siebzd01... IP Connecting to siebzd01|IP|:80... connected. HTTP request sent, awaiting response... 400 Bad Request Remote file does not exist -- broken link!!! Found 1 broken link. http://siebzd01/servlet/Satellite?c=Page /*****************************************************************/ How can I add those parameters in the URL. Thanks, Awalia. NOTICE The information in this email and or any of the attachments may contain; a. Confidential information of CUCA Limited ('CUCA') or third parties; and or b. Legally privileged information of CUCA or third parties and or c. Copyright material of CUCA or third parties. If you are not an authorised recipient of this email, please contact CUCA immediately by return email or by telephone on 61-2-8299 9000 and delete the email from your system. We do not accept any liability in connection with any computer virus, data corruption, interruption or any damage generally as a result of transmission of this email. NOTICE The information in this email and or any of the attachments may contain; a. Confidential information of CUCA Limited ('CUCA') or third parties; and or b. Legally privileged information of CUCA or third parties and or c. Copyright material of CUCA or third parties. If you are not an authorised recipient of this email, please contact CUCA immediately by return email or by telephone on 61-2-8299 9000 and delete the email from your system. We do not accept any liability in connection with any computer virus, data corruption, interruption or any damage generally as a result of transmission of this email. NOTICE The information in this email and or any of the attachments may contain; a. Confidential information of Cuscal Limited ('Cuscal') or third parties; and or b. Legally privileged information of Cuscal or third parties and or c. Copyright material of Cuscal or third parties. If you are not an authorised recipient of this email, please contact Cuscal immediately by return email or by telephone on 61-2-8299 9000 and delete the email from your system. We do not accept any liability in connection with any computer virus, data corruption, interruption or any damage generally as a result of transmission of this email.
