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 :
get MYFILE.TXT -delete -> 1 file is downloaded but all remote files are deleted ...
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 ?