Topic "Unable to remove files during directory syncronization"

Author Message
[View user's profile]

Joined: 2015-03-11
Posts: 3
Location: NJ, USA
version : 5.70 of the .net library
working previously : Not tried
Windows Version : 8.1
Transfer protocol : SFTP
Gui/Automation: Automation

Issue :

Using the .net library to automate directory synchronization. Attempting to download files from a remote server. Files are downloaded successfully but are not deleted even though I have the removefiles flag set to true.
sessionlog.txt (9.89 KB) Private file

Description: this is the session log

OutgoingSync.txt (5.81 KB) Private file

Description: This is the script I've written

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
You misunderstand what the removeFiles parameter does.
It's for deleting obsolete files, not for deleting transferred files.

You are probably looking for this:
Martin Prikryl
[View user's profile]

Joined: 2015-03-11
Posts: 3
Location: NJ, USA

Thanks for clarifying the delete functionality, I understand that now. Can you give a better description of an obsolete file. I have read through the synchronizefiles function definition page multiple times and it's not clear to me what that really means.



You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License