On 22 Mar 2002 at 13:43, Michael Bourgon wrote:

> wget --output-document="\\server\share\directory\filename_20020322.csv"
> ftp://myname:[EMAIL PROTECTED]/filename_20020322.csv
> 
> Then I get a file called "filename_20020322.csv" saved to the
> appropriate share.  However, if the file doesn't exist on the ftp site,
> I still wind up with a file saved on my share, but with a size of 0.  
> 
> Is there any way to change the settings so that, if the requested file
> doesn't exist, it doesn't save a 0-byte file? 
> Thanks. 

How about:

wget --directory-prefix="\\server\share\directory" -nd 
ftp://myname:[EMAIL PROTECTED]/filename_20020322.csv

Reply via email to