Check if remote file exists before upload (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Jasmine, (3887 days ago) @ Limey

Hi.

You cannot use GetAttributes inside PutFiles, that's what I mentioned that is a problem. Rather, I would use ListDir to list directory contents, and then parse and put existing files in some local list.

Then in PutFiles check if there is a file in my local list, and that way determine if it exists on remote side or not.

There is no automated way to do this.

Kreso

locked

Complete thread: