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

Re: PUT in scripting with v4

Does the "put" command produce any output?
Frank

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:
# 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

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 ??