Dealing with SFG(Sterling) and versioning FTP server ?

Advertisement

stephnane
Joined:
Posts:
1

Dealing with SFG(Sterling) and versioning FTP server ?

Hello.

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:
get MYFILE.TXT
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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: Dealing with SFG(Sterling) and versioning FTP server ?

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.

Reply with quote

Advertisement

You can post new topics in this forum