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: Support reuest - error whn uploading files

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. 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.
Anat

Support reuest - error whn uploading files

Hi, We have a script that uploads hourly files to a remote FTP.
Every now and then the script fails with this error.
We use version 5.1.1.2735 over win 2007.

What could be the reason? Attached here is the log.
Thanks,
Anat

. 2013-06-23 07:11:18.463 --------------------------------------------------------------------------
. 2013-06-23 07:11:18.463 Using FTP protocol.
. 2013-06-23 07:11:18.463 Doing startup conversation with host.
> 2013-06-23 07:11:18.463 PWD
< 2013-06-23 07:11:18.572 257 "/"
. 2013-06-23 07:11:18.572 Getting current directory name.
. 2013-06-23 07:11:18.572 Startup conversation with host finished.
< 2013-06-23 07:11:18.572 Script: Active session: [1] bla@ftp.bla.net
> 2013-06-23 07:11:18.572 Script: put \\server\folder\file.gz file.gz
. 2013-06-23 07:11:18.635 Copying 1 files/directories to remote directory "/"
. 2013-06-23 07:11:18.635 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: file.gz
. 2013-06-23 07:11:18.635 TM: B; ClAr: No; CPS: 0; InclM:
. 2013-06-23 07:11:18.635 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2013-06-23 07:11:18.635 File: "\\server\folder\file.gz"
. 2013-06-23 07:11:18.635 Copying "\\server\folder\file.gz" to remote directory started.
. 2013-06-23 07:11:18.635 Binary transfer mode selected.
. 2013-06-23 07:11:18.635 Starting upload of \\server\folder\file.gz
> 2013-06-23 07:11:18.635 TYPE A
< 2013-06-23 07:11:18.775 200 Switching to ASCII mode.
> 2013-06-23 07:11:18.775 PASV
< 2013-06-23 07:11:18.900 227 Entering Passive Mode (10,20,19,66,141,37).
. 2013-06-23 07:11:18.900 Server sent passive reply with unroutable address 1.2.3.4, using host address instead.
> 2013-06-23 07:11:18.900 LIST
< 2013-06-23 07:11:19.119 150 Here comes the directory listing.
. 2013-06-23 07:11:19.119 SSL connection established
. 2013-06-23 07:11:19.994 Copying files to remote side failed.
< 2013-06-23 07:11:20.275 226 Directory send OK.
* 2013-06-23 07:11:20.275 (ExtException) Server sent passive reply with unroutable address 1.2.3.4, using host address instead.
* 2013-06-23 07:11:20.275 Copying files to remote side failed.
* 2013-06-23 07:11:20.275 Directory send OK.
. 2013-06-23 07:11:20.275 Asking user:
. 2013-06-23 07:11:20.275 Error transferring file '\\server\folder\file.gz'. ("Server sent passive reply with unroutable address 1.2.3.4, using host address instead.","Copying files to remote side failed.","Directory send OK.")
< 2013-06-23 07:11:20.275 Script: Error transferring file '\\server\folder\file.gz'.
< 2013-06-23 07:11:20.275 Script: Server sent passive reply with unroutable address 1.2.3.4, using host address instead.

< 2013-06-23 07:11:20.275 Copying files to remote side failed.

< 2013-06-23 07:11:20.275 Directory send OK.
* 2013-06-23 07:11:20.275 (EScpSkipFile) Error transferring file '\\server\folder\file.gz'.
* 2013-06-23 07:11:20.275 Server sent passive reply with unroutable address 1.2.3.4, using host address instead.
* 2013-06-23 07:11:20.275 Copying files to remote side failed.
* 2013-06-23 07:11:20.275 Directory send OK.
. 2013-06-23 07:11:20.275 Script: Failed
> 2013-06-23 07:11:20.275 Script: exit
. 2013-06-23 07:11:20.275 Script: Exit code: 1
. 2013-06-23 07:11:20.275 Disconnected from server