I have a question about synchronizing files and how it functions, but unfortunately I do not have the ability to upload a log file as this is a work thing.
We have a remote directory on a window file share which is used by multiple people to store files for transfer to a server. I have created a batch file to sync the remote directory folder to the server, which generally works great. The contents of the file called by the batch file is:
#Resources Can be Found here - https://winscp.net/eng/docs/scripting option batch abort option confirm off open sftp://[SERVER AND HOSTKEY]" synchronize remote -delete [local network remote directory] [server remote directory] exit cmd /k
This code functions great if a new folder is placed into the [local network remote directory] and the script is run.
The problem occurs when a new file is placed into an older folder and the script is run.
In this case no files are transferred and no error is thrown.
In the log file I can see that it finds the files and marks them as new (Don't know what the implication is of this mark)
[date/time] Local file '[new file in old folder]' [date/time]  is new [date/time] Local file '[second new file in old folder]' [date/time]  is new
At the end of my log file there are some errors uploading Thumbs.db to the server but this doesn't stop the transfer of brand new folders so I doubt that it is doing anything to the current transfer.
Am I doing something wrong or do I just not fully understand how this should work? Is there something more specific that I should provide from the log file?