Help With Automation Script Please
Hi,
I have this script...
open ftp://user:pass@ftpserver.com/
cd /
option transfer binary
get -latest *.*
close
exit
That is supposed to connect to an FTP server, and download ONLY the latest file. Based on what I've read my syntax looks correct. But it doesn't work.
If I exclude the latest command and just use *.* this works fine, but downloads all of the files, when I only require the latest one.
Any help provided is much appreciated.
Thanks
Martin
I have this script...
open ftp://user:pass@ftpserver.com/
cd /
option transfer binary
get -latest *.*
close
exit
That is supposed to connect to an FTP server, and download ONLY the latest file. Based on what I've read my syntax looks correct. But it doesn't work.
If I exclude the latest command and just use *.* this works fine, but downloads all of the files, when I only require the latest one.
Any help provided is much appreciated.
Thanks
Martin