Topic "Problems with using the put command in as script file"

Author Message
worldramp
[View user's profile]

Joined: 2009-11-07
Posts: 2
Location: Maitland, fl
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
worldramp
[View user's profile]

Joined: 2009-11-07
Posts: 2
Location: Maitland, fl
Marty,
The error log is in the message.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License