use the -O option to rename to different file, eg below
 
C:\ranjit\wget>wget -O "mark.html" http://www.google.com   
 
This saves google page to mark.html
 
Ranjit Sandhu
703.803.1755
SRA
 

________________________________

From: Stuart Davies [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 25, 2007 3:34 AM
To: [email protected]; [email protected]; [EMAIL PROTECTED]
Subject: Query


To whom it may concern 
 
Hi 
 
I recently obtained your software to assist in downloading a specific
file from a secure site. I would like to know if I can change the file
name using Wget ? 
The file is automatically imported into a database and the file name has
to be changed manually currently. 
 
If there a way to make sure that Wget 'Saves the file as' i.e. the
current file name is data-base.xls it needs to be renamed to
database.xls or saved as database.xls is this possible? 
 
If so if you could explain how to achieve this it would be greatly
appreciated. 
 
Many Thanks 
 
 
  • Query Stuart Davies
    • RE: Query Sandhu, Ranjit

Reply via email to