Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

What prevents you from calling PowerShell from your batch file?
Acuna

Thanks a lot for your answer, but I write on Batch, so I can't use Windows Power Shell or write the addons for WinSCP on .NET, I hoped that I could simply hide this message... That's sad...
Acuna

Using WinSCP for synchronisation

Hello!

I'm trying to use WinSCP synchronisation my project files with my remote server. I can create a folder at my local server, so it must be created at the remote server too after synchronisation. I'm using mkdir for every single file to create its folder if it isn't created yet. But if the folder exists, I've got an error that it's already exists (of course, because it's exists). I'm using

option batch continue

option before mktime, and

option batch abort

after. It's helped, but error message is shown all the same. Is there is way not to try to create a folder when it's exists, or flags to supress this error message, looks like -no-messages or -auto to automatic sunchro the files or something like this...

Thanks a lot!

P. S. And yes, I've read the https://winscp.net/eng/docs/script_checking_file_existence. There is so many files and I think it must be so slow to start WinSCP to check for every dir.