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

worldramp

Marty,
The error log is in the message.
martin

Re: Problems with using the put command in as script file

Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
worldramp

Problems with using the put command in as script file

Thanks for your help
I am using winspc 4.2.4 Beta

The problem is the following
1. If I run a script one time it starts to put the files to the server.
2. If there is a problem and Winscp stops, I restart the script. At this point some of the files are on the server and the server is set to not overwrite files. In this situation, after the first file sent winscp stops even though there are other files to be sent.

Below is the error message

2009-11-07 17:09:45.462 File: "v:\MB\2009-11\MB3064.mov"
2009-11-07 17:09:45.462 Copying "v:\MB\2009-11\MB3064.mov" to remote directory started.
2009-11-07 17:09:45.462 Binary transfer mode selected.
2009-11-07 17:09:45.462 Starting upload of v:\MB\2009-11\MB3064.mov
> 2009-11-07 17:09:45.478 TYPE I
< 2009-11-07 17:09:45.540 200 Switching to Binary mode.
> 2009-11-07 17:09:45.540 PORT 192,168,0,129,14,97
< 2009-11-07 17:09:45.603 200 PORT command successful. Consider using PASV.
> 2009-11-07 17:09:45.603 STOR MB3064.mov
< 2009-11-07 17:09:45.743 150 Ok to send data.
< 2009-11-07 17:11:55.946 226 File receive OK.
2009-11-07 17:11:55.946 Upload successful
2009-11-07 17:11:55.961 File: "v:\MB\2009-11\MB3058b.mov"
2009-11-07 17:11:55.961 Copying "v:\MB\2009-11\MB3058b.mov" to remote directory started.
2009-11-07 17:11:55.961 Binary transfer mode selected.
2009-11-07 17:11:55.961 Starting upload of v:\MB\2009-11\MB3058b.mov
> 2009-11-07 17:11:55.977 TYPE I
< 2009-11-07 17:11:56.039 200 Switching to Binary mode.
> 2009-11-07 17:11:56.039 PORT 192,168,0,129,14,100
< 2009-11-07 17:11:56.118 200 PORT command successful. Consider using PASV.
> 2009-11-07 17:11:56.118 STOR MB3058b.mov
< 2009-11-07 17:11:56.274 150 Ok to send data.
2009-11-07 17:15:37.632 Access to v:\MB\2009-11\MB3058b.mov was denied.
2009-11-07 17:15:37.632 Copying files to remote side failed.
> 2009-11-07 17:15:37.632 REST 0
< 2009-11-07 17:15:37.757 226 File receive OK.




Below is the script file
option echo on
option batch on
option confirm off
option reconnecttime 30
open ftp://userid:pw@208.101.36.42
option transfer binary
cd /
put v:\MB\2009-11\*.mov
put v:\MB\2009-11\2009-11*MB*.mov*.*
close
exit