Problem uploading single file
Maybe i didn't understand the concept of the scripting here, but i have problems with that simple upload of a single file. I have the following script:
This is just for a simple test and should extended later. The WebDAV Server is at mac.machine.com/dav/files (an not the root path). The file to upload is in c:\tmp and should be uploaded to the root of the webdav (which is mac.machine.com/dav/files/). But all what i get is a 404 (not found) error. I didn't see where my problem is :-(
BTW: I call the script with
open davs://user:password@mac.machine.com/dav/files -rawsettings CacheDirectories=0 CacheDirectoryChanges=0 lcd c:\tmp put test.txt / exit
This is just for a simple test and should extended later. The WebDAV Server is at mac.machine.com/dav/files (an not the root path). The file to upload is in c:\tmp and should be uploaded to the root of the webdav (which is mac.machine.com/dav/files/). But all what i get is a 404 (not found) error. I didn't see where my problem is :-(
BTW: I call the script with
"c:\Program Files (x86)\WinSCP\winscp.exe" /log=c:\tmp\script.log /ini=nul /script=c:\tmp\script.txt