Post a reply

Options
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)

Options

Topic review

martin

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.
stephnane

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