option batch on option confirm off lcd C:\my_local_files mkdir 123456 put .\123456\orderconf_1234.xml ./123456/orderconf_1234.xml exit
if the folder 123456 allready exists, WINSCP gives the error :
Error creating folder '123456'.
Can't create directory: File exists
The thing is that I don't know whether this folder exists or not on the FTP server, and I don't wan't WINSCP to raise an error if I try to make a folder that allready exists. What is the best approach to "fix" this?
Can I with WINSCP say that "only do mkdir my_folder if my_folder doesn't exist" on the remote system?