Post a reply

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)


Topic review


Re: Change file name on destination

You cannot change the file name with keepuptodate command.

You would have to use a plain put and handle the monitoring of local file changes on your own. But then it would be better to use WinSCP .NET assembly (and it's Session.PutFiles) combined with some scripting language (e.g. a PowerShell).

Here is an example that does this, just with an opposite synchronization:

Though for local to remote direction, better than polling is to use local file system notifications.

Change file name on destination

How can I change file name on destination.
On my server is test.xml (and must stay test.xml) and I would to change to ABC.xml (but only on destination FTP server)