The setup I have is WinSCP is used to transfer XML files from a windows server to a UNIX folder location. I am using SSH-2 with a private key for the SFTP operation.
At the destination server there is a 'job' which processes new XML files in the folder and then moves them to a processed folder.
My questions are:
- can the XML processing job attempt to read a new XML file while it is still being copied via SFTP to the destination folder?
- and therefore there is a danger it will process only part of the file?
- Does the SFTP put process invoke some UNIX file lock (pure guess) so that no other server file/user can do anything with the file?
Thanks very much