Topic "Dealing with SFG(Sterling) and versioning FTP server ?"

Author Message
[View user's profile]

Joined: 2015-07-20
Posts: 1

I have to work with a new partner with a server which gives us a folder with multiples files with the same name (but not the same content).
Their server manage multiple versions of the same file, in case of we didn't get the file before a new one has been generated.

I made tests with the scripting mode :
Case 1:
get MYFILE.TXT -delete -> 1 file is downloaded but all remote files are deleted ...

Case 2:
rm MYFILE.TXT -> 1 file is downloaded but all remote files are deleted ...

Case 3 :
get MYFILE.TXT -> 1 file is downloaded and no remote file is deleted

How can I work with this situation ?
How can I get and delete one file at a time ?

Is there any existing documentation ?

Thank you
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
There's usually some mechanism to work with a specific file version only, like MYFILE.TXT;5

But that's file system/server-specific. You should search their documentation/contact their support. It has nothing to do with WinSCP.

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