On 03/27/2011 11:36 PM, Cory Sanders wrote: > wget -r ftp://<myurl>/test.txt --ftp-user=<username> > --ftp-password=<password> > > > > The above does not erase the existing file test.txt from my directory. The > download says it has downloaded the new file, which is 139 bits: > > 100%[======================================================================= > =============================================>] 139 --.-K/s in 0s > > > > 23:32:38 (755 KB/s) - `<myurl>/test.txt' saved [139] > > > > But an ll at the root shows the old file.
The ll shows your newly downloaded file, which has the "date modified" timestamp that wget obtained from the server. > Using CentOS5 on a box with Asterisk and Elastix. > > wget ftp://<myurl>/test.txt --ftp-user=<username> --ftp-password=<password> > > Writes the test.txt.1, test.txt.2, etc. That's because, in this new example, you're not using -r. Note that they both would have older timestamps too. -- Micah J. Cowan http://micah.cowan.name/
