Topic "uploading files failure."

Author Message
nlec
[View user's profile]

Joined: 2009-02-13
Posts: 1
Location: France
Hi,

I have a problem with WINSCP. When i try to upload a lot of files, some are ok and some else are not ok. (It's same problem when I transferred only one file).

I always have the same problem on the same files. Size of the file are differents, there is text file and there is small file (exemple : 2 660 o). If I'm copying the file and I transfert I, it's same issue.

Just a clarification, the file is transferred correctly on the seveur (Good size and it is readable). Shocked

I try to transfert files with an other SFTP program and I have no problem. Have you got any idea ?

Thanks a lot

OS : Windows XP SP2
WINSCP version : 1.4.6 / 1.4.7 / 1.4.8
Protocol : SFTP (3)

Code:
. 2009-02-12 18:15:28.983 Using SSH protocol version 2
. 2009-02-12 18:15:29.030 Using Diffie-Hellman with standard group "group1"
. 2009-02-12 18:15:29.030 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-02-12 18:15:29.202 Host key fingerprint is:
. 2009-02-12 18:15:29.202 ssh-rsa 1024 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
. 2009-02-12 18:15:29.202 Initialised AES-128 CBC client->server encryption
. 2009-02-12 18:15:29.202 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-02-12 18:15:29.202 Initialised AES-128 CBC server->client encryption
. 2009-02-12 18:15:29.202 Initialised HMAC-SHA1 server->client MAC algorithm
. 2009-02-12 18:15:29.358 Pageant is running. Requesting keys.
. 2009-02-12 18:15:29.358 Pageant has 1 SSH-2 keys
! 2009-02-12 18:15:29.358 Using username "xxxxxxx".
. 2009-02-12 18:15:29.373 Trying Pageant key #0
! 2009-02-12 18:15:29.405 Authenticating with public key "rsa-key-xxxxxx" from agent
. 2009-02-12 18:15:29.436 Sending Pageant's response
. 2009-02-12 18:15:29.452 Access granted
. 2009-02-12 18:15:29.483 Opened channel for session
. 2009-02-12 18:15:29.498 Started a shell/command
. 2009-02-12 18:15:29.498 Doing startup conversation with host.
> 2009-02-12 18:15:29.498 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-02-12 18:15:29.530 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-02-12 18:15:29.530 SFTP version 3 negotiated.
. 2009-02-12 18:15:29.530 We believe the server has signed timestamps bug
. 2009-02-12 18:15:29.530 We will use UTF-8 strings for status messages only
. 2009-02-12 18:15:29.530 Changing directory to "/xxxxxxxxx/TEST".
. 2009-02-12 18:15:29.530 Getting real path for '/xxxxxxxxx/TEST'
> 2009-02-12 18:15:29.530 Type: SSH_FXP_REALPATH, Size: 33, Number: 1296
< 2009-02-12 18:15:29.561 Type: SSH_FXP_NAME, Size: 124, Number: 1296
. 2009-02-12 18:15:29.561 Real path is '/xxxxxxxxx/TEST'
. 2009-02-12 18:15:29.561 Trying to open directory "/xxxxxxxx/TEST".
> 2009-02-12 18:15:29.561 Type: SSH_FXP_LSTAT, Size: 33, Number: 1543
< 2009-02-12 18:15:29.577 Type: SSH_FXP_ATTRS, Size: 37, Number: 1543
. 2009-02-12 18:15:29.577 Getting current directory name.
. 2009-02-12 18:15:29.577 Startup conversation with host finished.
. 2009-02-12 18:15:29.577 File: "c:\trans\Transfert_174106.txt"
. 2009-02-12 18:15:29.577 Copying "c:\trans\Transfert_174106.txt" to remote directory started.
. 2009-02-12 18:15:29.577 Ascii transfer mode selected.
. 2009-02-12 18:15:29.577 Opening remote file.
> 2009-02-12 18:15:29.577 Type: SSH_FXP_OPEN, Size: 92, Number: 1795
< 2009-02-12 18:15:29.608 Type: SSH_FXP_HANDLE, Size: 10, Number: 1795
> 2009-02-12 18:15:29.608 Type: SSH_FXP_WRITE, Size: 466, Number: 2310
> 2009-02-12 18:15:29.608 Type: SSH_FXP_CLOSE, Size: 10, Number: 2564
> 2009-02-12 18:15:29.608 Type: SSH_FXP_SETSTAT, Size: 88, Number: 2057
. 2009-02-12 18:15:29.748 Disconnected: All channels closed
. 2009-02-12 18:15:29.748 Fatal error while disposing the SFTP queue.
. 2009-02-12 18:15:29.748 Connection was lost, asking what to do.
. 2009-02-12 18:15:29.748 Asking user:
. 2009-02-12 18:15:29.748 Dconnexion inattendue Rsultat de la commande exit sur le serveur 0 ()


Last edited by nlec on 2009-02-14 14:34; edited 1 time in total
Advertisements
rackerland
[View user's profile]

Joined: 2009-02-13
Posts: 2
Location: San Diego, CA
I'm experiencing a very similar issue. I transfer six text files on a regular basis and five of the six work just fine, but the sixth will no longer transfer. (It did work as recently as 2/10, but stopped working completely thereafter.) The transfer dialog box goes to 98 or 99% complete and then just hangs. I extended the timeout all the way to four minutes, but that didn't help. I also tried disabling "Enable Transfer Resume" and the "Automatic Reconnect" on "Preferences --> Endurance" as suggested in another forum. This stoped leaving a ".filepart" in the destination folder, but it did not fix the transfer problem.

OS : Windows XP SP2
WINSCP version : 4.1.8 (build 415)
Protocol : SFTP-3 (SCP)
Session Protocol : SSH-2
Interface Style : Explorer

I can reproduce the problem consistently by dragging and dropping from the Explorer window on the server to the WinSCP location. No error messages are present other than the Abort warning after the timeout expires, but the log file shows "Fatal error while disposing the SFTP queue".

Log file below. Any assistance provided would be greatly appreciated!


Code:
. 2009-02-13 12:01:39.121 --------------------------------------------------------------------------
. 2009-02-13 12:01:39.121 WinSCP Version 4.1.8 (Build 415) (OS 5.2.3790 Service Pack 2)
. 2009-02-13 12:01:39.121 Login time: Friday, February 13, 2009 12:01:39 PM
. 2009-02-13 12:01:39.121 --------------------------------------------------------------------------
. 2009-02-13 12:01:39.121 Session name: Blackboard_Transfer_Staging
. 2009-02-13 12:01:39.121 Host name: xxxxxxxxxxxxxx (Port: 22)
. 2009-02-13 12:01:39.121 User name: xxxxxxx (Password: No, Key file: Yes)
. 2009-02-13 12:01:39.121 Tunnel: No
. 2009-02-13 12:01:39.121 Transfer Protocol: SFTP (SCP)
. 2009-02-13 12:01:39.121 Ping type: -, Ping interval: 30 sec; Timeout: 60 sec
. 2009-02-13 12:01:39.121 Proxy: none
. 2009-02-13 12:01:39.121 SSH protocol version: 2; Compression: No
. 2009-02-13 12:01:39.121 Bypass authentication: No
. 2009-02-13 12:01:39.121 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-02-13 12:01:39.121 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-02-13 12:01:39.121 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-02-13 12:01:39.121 SFTP Bugs: -,-
. 2009-02-13 12:01:39.121 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-02-13 12:01:39.121 Shell: default, EOL: 0
. 2009-02-13 12:01:39.121 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-02-13 12:01:39.121 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-02-13 12:01:39.121 Local directory: default, Remote directory: /home/bbft01s, Update: No, Cache: Yes
. 2009-02-13 12:01:39.121 Cache directory changes: Yes, Permanent: Yes
. 2009-02-13 12:01:39.121 DST mode: 1
. 2009-02-13 12:01:39.121 --------------------------------------------------------------------------
. 2009-02-13 12:01:39.153 Looking up host "xxxxxxxxxxxxxxxxxxxx"
. 2009-02-13 12:01:39.153 Connecting to xx.xx.xx.xxx port 22
. 2009-02-13 12:01:39.168 Server version: SSH-2.0-OpenSSH_4.3
. 2009-02-13 12:01:39.168 We claim version: SSH-2.0-WinSCP_release_4.1.8
. 2009-02-13 12:01:39.168 SSPI: acquired credentials for: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
. 2009-02-13 12:01:39.168 Constructed service principal name 'host/xxxxxxxxxxxxxxxxxx'
. 2009-02-13 12:01:39.184 GSSKEX disabled: The specified target is unknown or unreachable

. 2009-02-13 12:01:39.184 Using SSH protocol version 2
. 2009-02-13 12:01:39.184 Doing Diffie-Hellman group exchange
. 2009-02-13 12:01:39.231 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-02-13 12:01:39.403 Host key fingerprint is:
. 2009-02-13 12:01:39.403 ssh-rsa 2048 ca:c6:3a:4f:d0:b6:46:9b:60:dd:15:cb:89:7d:3e:1a
. 2009-02-13 12:01:39.403 Initialised AES-256 SDCTR client->server encryption
. 2009-02-13 12:01:39.403 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-02-13 12:01:39.403 Initialised AES-256 SDCTR server->client encryption
. 2009-02-13 12:01:39.403 Initialised HMAC-SHA1 server->client MAC algorithm
. 2009-02-13 12:01:39.449 Reading private key file "C:\xxxxxxxxxxxxxxx\SFTP_Keys\Staging\xxxxxxxxxxxxx.ppk"
! 2009-02-13 12:01:39.449 Using username "xxxxxxxxxx".
. 2009-02-13 12:01:39.449 Offered public key
. 2009-02-13 12:01:39.465 Offer of public key accepted
! 2009-02-13 12:01:39.465 Authenticating with public key "imported-openssh-key"
. 2009-02-13 12:01:40.106 Access granted
. 2009-02-13 12:01:40.153 Opened channel for session
. 2009-02-13 12:01:40.168 Started a shell/command
. 2009-02-13 12:01:40.168 --------------------------------------------------------------------------
. 2009-02-13 12:01:40.168 Using SFTP protocol.
. 2009-02-13 12:01:40.168 Doing startup conversation with host.
> 2009-02-13 12:01:40.168 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-02-13 12:01:40.199 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-02-13 12:01:40.199 SFTP version 3 negotiated.
. 2009-02-13 12:01:40.199 We believe the server has signed timestamps bug
. 2009-02-13 12:01:40.199 We will use UTF-8 strings for status messages only
. 2009-02-13 12:01:40.199 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-02-13 12:01:40.199 Changing directory to "/home/xxxxxxxxxxxxx".
. 2009-02-13 12:01:40.199 Getting real path for '/home/xxxxxxxxxxxxx'
> 2009-02-13 12:01:40.199 Type: SSH_FXP_REALPATH, Size: 22, Number: 16
< 2009-02-13 12:01:40.199 Type: SSH_FXP_NAME, Size: 47, Number: 16
. 2009-02-13 12:01:40.199 Real path is '/home/xxxxxxxxxxxxx'
. 2009-02-13 12:01:40.199 Trying to open directory "/home/xxxxxxxxxxxxx".
> 2009-02-13 12:01:40.199 Type: SSH_FXP_LSTAT, Size: 22, Number: 263
< 2009-02-13 12:01:40.199 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2009-02-13 12:01:40.199 Getting current directory name.
. 2009-02-13 12:01:40.199 Listing directory "/home/xxxxxxxxxxxxx".
> 2009-02-13 12:01:40.199 Type: SSH_FXP_OPENDIR, Size: 22, Number: 523
< 2009-02-13 12:01:40.199 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2009-02-13 12:01:40.199 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-02-13 12:01:40.215 Type: SSH_FXP_NAME, Size: 2889, Number: 780
> 2009-02-13 12:01:40.215 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2009-02-13 12:01:40.215 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2009-02-13 12:01:40.215 Status/error code: 1
> 2009-02-13 12:01:40.215 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
. 2009-02-13 12:01:40.215 Startup conversation with host finished.
. 2009-02-13 12:01:51.637 Deleting file "xxxxxxxxxxxxx.Users.txt".
> 2009-02-13 12:01:51.637 Type: SSH_FXP_REMOVE, Size: 40, Number: 1549
< 2009-02-13 12:01:51.637 Type: SSH_FXP_STATUS, Size: 24, Number: 1284
. 2009-02-13 12:01:51.637 Discarding reserved response
< 2009-02-13 12:01:51.637 Type: SSH_FXP_STATUS, Size: 24, Number: 1549
< 2009-02-13 12:01:51.637 Status/error code: 0
. 2009-02-13 12:01:51.637 Listing directory "/home/xxxxxxxxxxxxx".
> 2009-02-13 12:01:51.637 Type: SSH_FXP_OPENDIR, Size: 22, Number: 1803
< 2009-02-13 12:01:51.637 Type: SSH_FXP_HANDLE, Size: 13, Number: 1803
> 2009-02-13 12:01:51.637 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
< 2009-02-13 12:01:51.637 Type: SSH_FXP_NAME, Size: 2759, Number: 2060
> 2009-02-13 12:01:51.637 Type: SSH_FXP_READDIR, Size: 13, Number: 2316
< 2009-02-13 12:01:51.637 Type: SSH_FXP_STATUS, Size: 28, Number: 2316
< 2009-02-13 12:01:51.637 Status/error code: 1
> 2009-02-13 12:01:51.637 Type: SSH_FXP_CLOSE, Size: 13, Number: 2564
. 2009-02-13 12:02:03.591 Copying 1 files/directories to remote directory "/home/xxxxxxxxxxxxx/"
. 2009-02-13 12:02:03.591   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: N (102400); CalcS: Yes; Mask: *.*
. 2009-02-13 12:02:03.591   TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2009-02-13 12:02:03.591   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2009-02-13 12:02:03.591 File: "C:\Blackboard_Integration\Transfer_Files\xxxxxxxxxxxxx.Users.txt"
. 2009-02-13 12:02:03.591 Copying "C:\Blackboard_Integration\Transfer_Files\xxxxxxxxxxxxx.Users.txt" to remote directory started.
. 2009-02-13 12:02:03.591 Ascii transfer mode selected.
. 2009-02-13 12:02:03.591 Opening remote file.
> 2009-02-13 12:02:03.591 Type: SSH_FXP_OPEN, Size: 56, Number: 2819
< 2009-02-13 12:02:03.591 Type: SSH_FXP_STATUS, Size: 24, Number: 2564
. 2009-02-13 12:02:03.591 Discarding reserved response
< 2009-02-13 12:02:03.591 Type: SSH_FXP_HANDLE, Size: 13, Number: 2819
> 2009-02-13 12:02:03.591 Type: SSH_FXP_WRITE, Size: 4077, Number: 3334
< 2009-02-13 12:02:06.982 Status/error code: 4, Message: 59654, Server: Failure, Language: 
. 2009-02-13 12:03:06.983 Waiting for data timed out, asking user what to do.
. 2009-02-13 12:03:06.983 Asking user:
. 2009-02-13 12:03:06.983 Host has not answered for 60 seconds.
. 2009-02-13 12:03:06.983
. 2009-02-13 12:03:06.983 Wait for another 60 seconds? ()
. 2009-02-13 12:05:06.597 Attempt to close connection due to fatal exception:
* 2009-02-13 12:05:06.597 Terminated by user.
. 2009-02-13 12:05:06.597 Closing connection.
. 2009-02-13 12:05:06.597 Sending special code: 12
. 2009-02-13 12:05:06.597 Sent EOF message
. 2009-02-13 12:05:06.612 Fatal error while disposing the SFTP queue.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
nlec wrote:
I have a problem with WINSCP. When i try to upload a lot of files, some are ok and some else are not ok. (It's same problem when I transferred only one file).

I always have the same problem on the same files. Size of the file are differents, there is text file and there is small file (exemple : 2 660 o). If I'm copying the file and I transfert I, it's same issue.

Just a clarification, the file is transferred correctly on the seveur (Good size and it is readable). Shocked

I try to transfert files with an other SFTP program and I have no problem. Have you got any idea ?

Can you try regular WinSCP application, instead of FAR plugin?
What is your SFTP/SSH server?
Try to disable Set permissions transfer setting.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
rackerland wrote:
I'm experiencing a very similar issue. I transfer six text files on a regular basis and five of the six work just fine, but the sixth will no longer transfer. (It did work as recently as 2/10, but stopped working completely thereafter.) The transfer dialog box goes to 98 or 99% complete and then just hangs. I extended the timeout all the way to four minutes, but that didn't help. I also tried disabling "Enable Transfer Resume" and the "Automatic Reconnect" on "Preferences --> Endurance" as suggested in another forum. This stoped leaving a ".filepart" in the destination folder, but it did not fix the transfer problem.

OS : Windows XP SP2
WINSCP version : 4.1.8 (build 415)
Protocol : SFTP-3 (SCP)
Session Protocol : SSH-2
Interface Style : Explorer

I can reproduce the problem consistently by dragging and dropping from the Explorer window on the server to the WinSCP location. No error messages are present other than the Abort warning after the timeout expires, but the log file shows "Fatal error while disposing the SFTP queue".

This seems as a different isseu than the first one.
Looks like your server sends back an invalid SFTP response.
Can you email me a file you are having a problems with?
rackerland
[View user's profile]

Joined: 2009-02-13
Posts: 2
Location: San Diego, CA
I e-mailed the file that consistently errors (Users.txt) along with a file that works successfully each time. Please let me know if you do not receive them.

Thanks again for your assistance with this and I apologize for mixing topics.
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