PUT in scripting with v4
Hey ... i am very confused ...
GET is no problem and its ok
PUT, i have some trouble, no ideas. Here my little script:
GET its ok, but with PUT, i have no file on my FTP :?
Rights on the ftp-server are ok and both folders are with 777
And i tried with:
put e:\programme\WinSCP3\ausgang\einganghost.txt /inbox/
... nothing ... no file ...
Any ideas ??
GET is no problem and its ok
PUT, i have some trouble, no ideas. Here my little script:
# Automatically answer all prompts negatively not to stall # the script on errors option batch on # Disable overwrite confirmations that conflict with the previous option confirm off # Connect open XXXXXXXXXX # Force binary mode transfer option transfer binary # Upload the file to current working directory cd /inbox/ put e:\programme\WinSCP3\ausgang\einganghost.txt cd /outbox/ get outboxftp.txt E:\Programme\WinSCP3\eingang\ # Disconnect close # Exit WinSCP exit
Rights on the ftp-server are ok and both folders are with 777
And i tried with:
put e:\programme\WinSCP3\ausgang\einganghost.txt /inbox/
... nothing ... no file ...
Any ideas ??