Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Tip: Styles can be applied quickly to selected text.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: SFTP command line to only copy updated files

Prashanth wrote:

Does newonly OR FILEMASK scans thru subfolder on remote site?

Yes they do.
Prashanth

Re: SFTP command line to only copy updated files

Does newonly OR FILEMASK scans thru subfolder on remote site?

martin wrote:

Prashanth wrote:

How to use and pass the "neweronly" parameter into the script

Like get -neweronly ....
martin

Re: SFTP command line to only copy updated files

Prashanth wrote:

How to use and pass the "neweronly" parameter into the script

Like get -neweronly ....
Welshhop

SFTP command line to only copy updated files

Hi, i have the following command line which copies everything from an SFTP folder to my local folder.
cd c:\Program Files (x86)\winscp
winscp.exe /console /Command "option batch abort" "option confirm off" "open sftp://User:PW@IP:PORT/" "cd /QlikView/Compliance/" "option transfer binary" "get *.* C:\VeoliaData\Compliance\" "close" "Exit" /log="C:\veoliadata\FTP_Transfer.log"

What changes do i need to make for it to only copy files that have been modified?

Thanks