Copying files to remote side failed

Advertisement

jrowens27
Joined:
Posts:
2

Copying files to remote side failed

I am having an issue that just started. When uploading a file it is now saying "Copying files to remote side failed". This script was working previously but there was an authentication issue and once that was resolved is it is no longer working. It seems to be an issue with uploading to a directory because when I take that piece out it works fine. Any ideas on why this is showing up? Thank you.

Script

option batch on
option confirm off
open ftp
option transfer ascii
put C:\HRH.txt "/databases/"
close
exit

Log

. 2012-10-18 09:59:03.998 --------------------------------------------------------------------------
. 2012-10-18 09:59:03.998 WinSCP Version 4.1.3 (Build 393) (OS 5.1.2600 Service Pack 3)
. 2012-10-18 09:59:04.013 Login time: Thursday, October 18, 2012 9:59:04 AM
. 2012-10-18 09:59:04.013 --------------------------------------------------------------------------
. 2012-10-18 09:59:04.029 Session name: hendricks@hcoftp.healthstream.com
. 2012-10-18 09:59:04.029 Host name: hcoftp.healthstream.com (Port: 21)
. 2012-10-18 09:59:04.029 User name: hendricks (Password: Yes, Key file: No)
. 2012-10-18 09:59:04.045 Tunnel: No
. 2012-10-18 09:59:04.045 Transfer Protocol: FTP
. 2012-10-18 09:59:04.060 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-10-18 09:59:04.076 Proxy: none
. 2012-10-18 09:59:04.092 FTP: Passive: No
. 2012-10-18 09:59:04.092 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2012-10-18 09:59:04.092 Cache directory changes: Yes, Permanent: Yes
. 2012-10-18 09:59:04.107 DST mode: 1
. 2012-10-18 09:59:04.107 --------------------------------------------------------------------------
. 2012-10-18 09:59:04.123 Connecting to hcoftp.healthstream.com ...
. 2012-10-18 09:59:04.170 Connected with hcoftp.healthstream.com. Waiting for welcome message...
< 2012-10-18 09:59:04.201 220 Serv-U FTP Server v12.1 ready...
> 2012-10-18 09:59:04.217 USER hendricks
< 2012-10-18 09:59:04.248 331 User name okay, need password.
> 2012-10-18 09:59:04.248 PASS ******
< 2012-10-18 09:59:04.295 230 User logged in, proceed.
> 2012-10-18 09:59:04.295 SYST
< 2012-10-18 09:59:04.326 215 UNIX Type: L8
> 2012-10-18 09:59:04.342 FEAT
< 2012-10-18 09:59:04.373 211-Extensions supported
< 2012-10-18 09:59:04.388 UTF8
< 2012-10-18 09:59:04.388 OPTS MODE;MLST;UTF8
< 2012-10-18 09:59:04.388 CLNT
< 2012-10-18 09:59:04.404 CSID Name; Version;
< 2012-10-18 09:59:04.404 HOST domain
< 2012-10-18 09:59:04.420 SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP
< 2012-10-18 09:59:04.420 AUTH TLS;SSL;TLS-C;TLS-P;
< 2012-10-18 09:59:04.420 PBSZ
< 2012-10-18 09:59:04.420 PROT
< 2012-10-18 09:59:04.435 CCC
< 2012-10-18 09:59:04.435 SSCN
< 2012-10-18 09:59:04.451 RMDA directoryname
< 2012-10-18 09:59:04.451 DSIZ
< 2012-10-18 09:59:04.467 AVBL
< 2012-10-18 09:59:04.467 EPRT
< 2012-10-18 09:59:04.467 EPSV
< 2012-10-18 09:59:04.482 MODE Z
< 2012-10-18 09:59:04.482 THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname
< 2012-10-18 09:59:04.482 REST STREAM
< 2012-10-18 09:59:04.498 SIZE
< 2012-10-18 09:59:04.498 MDTM
< 2012-10-18 09:59:04.498 MDTM YYYYMMDDHHMMSS[+-TZ];filename
< 2012-10-18 09:59:04.498 MFMT
< 2012-10-18 09:59:04.513 MFCT
< 2012-10-18 09:59:04.513 MFF Create;Modify;
< 2012-10-18 09:59:04.513 XCRC filename;start;end
< 2012-10-18 09:59:04.529 XMD5 filename;start;end
< 2012-10-18 09:59:04.529 XSHA1 filename;start;end
< 2012-10-18 09:59:04.529 XSHA256 filename;start;end
< 2012-10-18 09:59:04.529 XSHA512 filename;start;end
< 2012-10-18 09:59:04.545 COMB target;source_list
< 2012-10-18 09:59:04.545 MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl
< 2012-10-18 09:59:04.560 211 End (for details use "HELP commmand" where command is the command of interest)
> 2012-10-18 09:59:04.576 CLNT FileZilla
< 2012-10-18 09:59:04.576 200 Noted.
> 2012-10-18 09:59:04.592 OPTS UTF8 ON
< 2012-10-18 09:59:04.592 200 OPTS UTF8 is set to ON.
. 2012-10-18 09:59:04.607 Connected
. 2012-10-18 09:59:04.607 --------------------------------------------------------------------------
. 2012-10-18 09:59:04.623 Using FTP protocol.
. 2012-10-18 09:59:04.623 Doing startup conversation with host.
> 2012-10-18 09:59:04.638 PWD
< 2012-10-18 09:59:04.670 257 "/" is current directory.
. 2012-10-18 09:59:04.685 Getting current directory name.
. 2012-10-18 09:59:04.685 Startup conversation with host finished.
. 2012-10-18 09:59:04.701 Copying 1 files/directories to remote directory "/databases/"
. 2012-10-18 09:59:04.701 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask:
. 2012-10-18 09:59:04.701 TM: A; ClAr: No; CPS: 0; ExclM(No):
. 2012-10-18 09:59:04.717 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2012-10-18 09:59:04.717 File: "C:\HendricksRegionalHealth.txt"
. 2012-10-18 09:59:04.732 Copying "C:\HendricksRegionalHealth.txt" to remote directory started.
. 2012-10-18 09:59:04.732 Ascii transfer mode selected.
. 2012-10-18 09:59:04.732 Starting upload of C:\HendricksRegionalHealth.txt
> 2012-10-18 09:59:04.748 CWD /databases/
< 2012-10-18 09:59:04.779 250 Directory changed to /Databases
> 2012-10-18 09:59:04.779 PWD
< 2012-10-18 09:59:04.826 257 "/Databases" is current directory.
. 2012-10-18 09:59:04.826 Copying files to remote side failed.
* 2012-10-18 09:59:04.826 (ExtException) Copying files to remote side failed.
* 2012-10-18 09:59:04.842 "/Databases" is current directory.
. 2012-10-18 09:59:04.842 Asking user:
. 2012-10-18 09:59:04.842 Error transferring file 'C:\HendricksRegionalHealth.txt'. ("Copying files to remote side failed.","""/Databases"" is current directory.")
* 2012-10-18 09:59:04.857 (EScpSkipFile) Error transferring file 'C:\HendricksRegionalHealth.txt'.
* 2012-10-18 09:59:04.857 Copying files to remote side failed.
* 2012-10-18 09:59:04.857 "/Databases" is current directory.
. 2012-10-18 09:59:04.857 Disconnected from server

Reply with quote E-mail

Advertisement

jrowens27

Fixed this issue

I found the the folder was case sensitive. In my script I had databases and I guess it wanted Databases to match exactly on the other side. I did receive a different error in the log today so the vendor may have also changed something on their side.

Reply with quote E-mail

Advertisement

You can post new topics in this forum