Topic "Get -neweronly not working"

Author Message
Guest13532

Guest


Trying to automate sftp transfer from remote server to only get newer items added to the folder since the last transfer but all files are still transferring.

cmds tested:
get -neweronly
get -neweronly="*>2H" /ServerLocation #to only download files added within last 2 hours


Anybody have any suggestions?
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26705
Location: Prague, Czechia
Guest13532 wrote:
Trying to automate sftp transfer from remote server to only get newer items added to the folder since the last transfer but all files are still transferring.

cmds tested:
get -neweronly

Should be get -neweronly *, otherwise it won't even run.

Quote:
get -neweronly="*>2H" /ServerLocation #to only download files added within last 2 hours

Should be get -filemask="*>2H" /ServerLocation
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License