Download order ??
Hi, I'm using Winscp to 'get -delete' all files and directories from one server and copy to another server using a batch file which uses parses parameters to a .conf file. The order in which the files are copied appears to be completely random. Typically most programs will copy in alphabetical order. How does Winscp determine the order in which to copy? Is there anyway to make Winscp copy in alphabetical order?
This is an example of the order in which winscp is copying.
20150302_123851.mkv
20150302_104348.mkv
20150302_131852.mkv
20150302_133353.mkv
20150302_102356.mkv
Here are my script files.
#batch file contents
winscp.com" /xmllog="C:\Logs\log.xml" /loglevel=0 /script=C:\WinSCP\winscp.conf /parameter 192.168.2.1 /media/path1 \\172.16.1.120\path2\
#winscp.conf contents
option batch continue
open sftp://user:pass@%1%/ -timeout=60 -rawsettings SendBuf=0
option confirm off
get -delete -resume %2%/*.* %3%
close
exit
This is an example of the order in which winscp is copying.
20150302_123851.mkv
20150302_104348.mkv
20150302_131852.mkv
20150302_133353.mkv
20150302_102356.mkv
Here are my script files.
#batch file contents
winscp.com" /xmllog="C:\Logs\log.xml" /loglevel=0 /script=C:\WinSCP\winscp.conf /parameter 192.168.2.1 /media/path1 \\172.16.1.120\path2\
#winscp.conf contents
option batch continue
open sftp://user:pass@%1%/ -timeout=60 -rawsettings SendBuf=0
option confirm off
get -delete -resume %2%/*.* %3%
close
exit