winscp put -delete problem
Hi everyone,
I'm trying to upload some files to a remote server using a winscp script with deletion of the file uploaded, but instead of just deleting the files, it deletes all directory.
Could you tell me where is my mistake?
My script looks like:
After finishing the process, the files content has been uploaded, but the Folder "out" (with all its content) has been also deleted.
Can anyone help me?
I'm trying to upload some files to a remote server using a winscp script with deletion of the file uploaded, but instead of just deleting the files, it deletes all directory.
Could you tell me where is my mistake?
My script looks like:
put -delete "C:\TEMP\Out\" /targetFolder/ close exit
After finishing the process, the files content has been uploaded, but the Folder "out" (with all its content) has been also deleted.
Can anyone help me?