Topic "Can't upload files"

Author Message
Meer
[View user's profile]

Joined: 2006-10-17
Posts: 3
I use WinSCP v3.7.4 for SFTP (v3)

I cannot upload files from my computer to my webspace. I get this error:
Copying files to remote site failed.
Connection has been unexpectedly closed. Server sent command exit status 0.

I can connect fine, I can change file names on the server, and I can download files from the server to my computer, I just can't upload. It worked fine about a week ago, and I haven't changed anything.

Any help would be really appreciated. I'm clueless and this is really frustrating me.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please try the latest version first. If that does not help, please post a log file.
_________________
Martin Prikryl
Meer
[View user's profile]

Joined: 2006-10-17
Posts: 3
Okay, I updated to the latest version. It's still happening. So here's the log:

. 2006-10-17 18:50:10.171 --------------------------------------------------------------------------
. 2006-10-17 18:50:10.171 WinSCP Version 3.8.2 (Build 330) (OS 5.1.2600 Service Pack 2)
. 2006-10-17 18:50:10.171 Login time: Tuesday, October 17, 2006 6:50:10 PM
. 2006-10-17 18:50:10.171 --------------------------------------------------------------------------
. 2006-10-17 18:50:10.171 Session name: blackmist@silenceisdefeat.org
. 2006-10-17 18:50:10.171 Host name: silenceisdefeat.org (Port: 22)
. 2006-10-17 18:50:10.171 User name: blackmist (Password: Yes, Key file: No)
. 2006-10-17 18:50:10.171 Transfer Protocol: SFTP (SCP)
. 2006-10-17 18:50:10.171 SSH protocol version: 2; Compression: No
. 2006-10-17 18:50:10.171 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2006-10-17 18:50:10.171 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-10-17 18:50:10.171 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-10-17 18:50:10.171 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-10-17 18:50:10.171 SFTP Bugs: -,-,-
. 2006-10-17 18:50:10.171 Proxy: none
. 2006-10-17 18:50:10.171 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-10-17 18:50:10.171 Shell: default, EOL: 0
. 2006-10-17 18:50:10.171 Local directory: C:\Documents and Settings\Meer\My Documents\Website\Black Mist, Remote directory: /home/blackmist/public_html, Update: No, Cache: Yes
. 2006-10-17 18:50:10.171 Cache directory changes: Yes, Permanent: Yes
. 2006-10-17 18:50:10.187 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-10-17 18:50:10.187 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-10-17 18:50:10.187 --------------------------------------------------------------------------
. 2006-10-17 18:50:10.187 Looking up host "silenceisdefeat.org"
. 2006-10-17 18:50:10.187 Connecting to 66.111.62.170 port 22
. 2006-10-17 18:50:13.250 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:13.328 Server version: SSH-1.99-OpenSSH_4.3
. 2006-10-17 18:50:13.328 We claim version: SSH-2.0-WinSCP_release_3.8.2
. 2006-10-17 18:50:13.328 Using SSH protocol version 2
. 2006-10-17 18:50:13.328 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:13.406 Doing Diffie-Hellman group exchange
. 2006-10-17 18:50:13.406 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:13.718 Doing Diffie-Hellman key exchange
. 2006-10-17 18:50:13.859 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.125 Host key fingerprint is:
. 2006-10-17 18:50:14.125 ssh-rsa 1024 20:b2:99:0a:b6:b3:02:c9:91:a1:68:86:da:61:4f:50
. 2006-10-17 18:50:14.125 Initialised AES-256 client->server encryption
. 2006-10-17 18:50:14.125 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-10-17 18:50:14.125 Initialised AES-256 server->client encryption
. 2006-10-17 18:50:14.125 Initialised HMAC-SHA1 server->client MAC algorithm
. 2006-10-17 18:50:14.125 Waiting for the server to continue with the initialisation
! 2006-10-17 18:50:14.453 Using username "blackmist".
. 2006-10-17 18:50:14.453 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.609 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.671 Keyboard-interactive authentication refused
. 2006-10-17 18:50:14.671 Session password prompt (blackmist@silenceisdefeat.org's password: )
. 2006-10-17 18:50:14.671 Using stored password.
! 2006-10-17 18:50:14.671 Authenticating with pre-entered password.
. 2006-10-17 18:50:14.671 Sent password
. 2006-10-17 18:50:14.671 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.765 Access granted
. 2006-10-17 18:50:14.765 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.828 Opened channel for session
. 2006-10-17 18:50:14.828 Waiting for the server to continue with the initialisation
. 2006-10-17 18:50:14.890 Started a shell/command
. 2006-10-17 18:50:14.890 --------------------------------------------------------------------------
. 2006-10-17 18:50:14.890 Using SFTP protocol.
. 2006-10-17 18:50:14.890 Doing startup conversation with host.
> 2006-10-17 18:50:14.890 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2006-10-17 18:50:14.890 Sent 9 bytes
. 2006-10-17 18:50:14.890 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:14.890 Waiting for another 4 bytes
. 2006-10-17 18:50:14.953 Received 4 bytes
. 2006-10-17 18:50:14.953 Received 5 bytes
< 2006-10-17 18:50:14.953 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-10-17 18:50:14.953 SFTP version 3 negotiated.
. 2006-10-17 18:50:14.953 We believe the server has signed timestamps bug
. 2006-10-17 18:50:14.953 We will use UTF-8 strings for status messages only
. 2006-10-17 18:50:14.953 Limiting packet size to OpenSSH limit of 262148 bytes
. 2006-10-17 18:50:14.953 Changing directory to "/home/blackmist/public_html".
. 2006-10-17 18:50:14.953 Getting real path for '/home/blackmist/public_html'
> 2006-10-17 18:50:14.953 Type: SSH_FXP_REALPATH, Size: 36, Number: 16
. 2006-10-17 18:50:14.953 Sent 40 bytes
. 2006-10-17 18:50:14.953 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:14.953 Waiting for another 4 bytes
. 2006-10-17 18:50:15.015 Received 4 bytes
. 2006-10-17 18:50:15.015 Received 75 bytes
< 2006-10-17 18:50:15.015 Type: SSH_FXP_NAME, Size: 75, Number: 16
. 2006-10-17 18:50:15.015 Real path is '/home/blackmist/public_html'
. 2006-10-17 18:50:15.015 Trying to open directory "/home/blackmist/public_html".
> 2006-10-17 18:50:15.015 Type: SSH_FXP_LSTAT, Size: 36, Number: 263
. 2006-10-17 18:50:15.015 Sent 40 bytes
. 2006-10-17 18:50:15.015 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:15.015 Waiting for another 4 bytes
. 2006-10-17 18:50:15.078 Received 4 bytes
. 2006-10-17 18:50:15.078 Received 37 bytes
< 2006-10-17 18:50:15.078 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2006-10-17 18:50:15.078 Getting current directory name.
. 2006-10-17 18:50:15.078 Listing directory "/home/blackmist/public_html".
> 2006-10-17 18:50:15.078 Type: SSH_FXP_OPENDIR, Size: 36, Number: 523
. 2006-10-17 18:50:15.078 Sent 40 bytes
. 2006-10-17 18:50:15.078 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:15.078 Waiting for another 4 bytes
. 2006-10-17 18:50:15.671 Received 4 bytes
. 2006-10-17 18:50:15.671 Received 13 bytes
< 2006-10-17 18:50:15.671 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2006-10-17 18:50:15.671 Type: SSH_FXP_READDIR, Size: 13, Number: 780
. 2006-10-17 18:50:15.671 Sent 17 bytes
. 2006-10-17 18:50:15.671 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:15.671 Waiting for another 4 bytes
. 2006-10-17 18:50:16.015 Waiting for another 4 bytes
. 2006-10-17 18:50:16.015 Received 4 bytes
. 2006-10-17 18:50:16.015 Received 12125 bytes
< 2006-10-17 18:50:16.015 Type: SSH_FXP_NAME, Size: 12125, Number: 780
> 2006-10-17 18:50:16.015 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
. 2006-10-17 18:50:16.015 Sent 17 bytes
. 2006-10-17 18:50:16.015 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:16.015 Waiting for another 4 bytes
. 2006-10-17 18:50:16.500 Waiting for another 4 bytes
. 2006-10-17 18:50:16.500 Waiting for another 4 bytes
. 2006-10-17 18:50:17.015 Waiting for another 4 bytes
. 2006-10-17 18:50:18.156 Waiting for another 4 bytes
. 2006-10-17 18:50:18.156 Waiting for another 4 bytes
. 2006-10-17 18:50:18.218 Received 4 bytes
. 2006-10-17 18:50:18.218 Received 12585 bytes
< 2006-10-17 18:50:18.218 Type: SSH_FXP_NAME, Size: 12585, Number: 1036
> 2006-10-17 18:50:18.218 Type: SSH_FXP_READDIR, Size: 13, Number: 1292
. 2006-10-17 18:50:18.218 Sent 17 bytes
. 2006-10-17 18:50:18.218 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:18.234 Waiting for another 4 bytes
. 2006-10-17 18:50:18.390 Waiting for another 4 bytes
. 2006-10-17 18:50:18.390 Waiting for another 4 bytes
. 2006-10-17 18:50:19.015 Waiting for another 4 bytes
. 2006-10-17 18:50:20.015 Waiting for another 4 bytes
. 2006-10-17 18:50:20.015 Waiting for another 4 bytes
. 2006-10-17 18:50:20.109 Received 4 bytes
. 2006-10-17 18:50:20.109 Received 12553 bytes
< 2006-10-17 18:50:20.109 Type: SSH_FXP_NAME, Size: 12553, Number: 1292
> 2006-10-17 18:50:20.109 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
. 2006-10-17 18:50:20.109 Sent 17 bytes
. 2006-10-17 18:50:20.109 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:20.109 Waiting for another 4 bytes
. 2006-10-17 18:50:20.437 Received 4 bytes
. 2006-10-17 18:50:20.437 Received 28 bytes
< 2006-10-17 18:50:20.437 Type: SSH_FXP_STATUS, Size: 28, Number: 1548
< 2006-10-17 18:50:20.437 Status/error code: 1
> 2006-10-17 18:50:20.437 Type: SSH_FXP_CLOSE, Size: 13, Number: 1796
. 2006-10-17 18:50:20.437 Sent 17 bytes
. 2006-10-17 18:50:20.437 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:20.437 Startup conversation with host finished.
. 2006-10-17 18:50:21.265 Session upkeep
. 2006-10-17 18:50:21.265 Detected incoming data while idle
. 2006-10-17 18:50:21.625 Session upkeep
. 2006-10-17 18:50:22.125 Session upkeep
. 2006-10-17 18:50:22.625 Session upkeep
. 2006-10-17 18:50:23.125 Session upkeep
. 2006-10-17 18:50:23.625 Session upkeep
. 2006-10-17 18:50:24.140 Session upkeep
. 2006-10-17 18:50:24.640 Session upkeep
. 2006-10-17 18:50:25.140 Session upkeep
. 2006-10-17 18:50:25.640 Session upkeep
. 2006-10-17 18:50:26.140 Session upkeep
. 2006-10-17 18:50:26.640 Session upkeep
. 2006-10-17 18:50:27.140 Session upkeep
. 2006-10-17 18:50:27.640 Session upkeep
. 2006-10-17 18:50:28.140 Session upkeep
. 2006-10-17 18:50:28.640 Session upkeep
. 2006-10-17 18:50:29.156 Session upkeep
. 2006-10-17 18:50:29.640 Session upkeep
. 2006-10-17 18:50:30.140 Session upkeep
. 2006-10-17 18:50:30.640 Session upkeep
. 2006-10-17 18:50:31.140 Session upkeep
. 2006-10-17 18:50:31.640 Session upkeep
. 2006-10-17 18:50:32.140 Session upkeep
. 2006-10-17 18:50:32.640 Session upkeep
. 2006-10-17 18:50:33.187 Session upkeep
. 2006-10-17 18:50:33.187 Copying 1 files/directories to remote directory "/home/blackmist/public_html/"
. 2006-10-17 18:50:33.187 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2006-10-17 18:50:33.187 TM: M; ClAr: No; ExclM(No):
. 2006-10-17 18:50:33.187 AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2006-10-17 18:50:33.187 File: "C:\Documents and Settings\Meer\My Documents\Website\Black Mist\indextemp.html"
. 2006-10-17 18:50:33.187 Copying "C:\Documents and Settings\Meer\My Documents\Website\Black Mist\indextemp.html" to remote directory started.
. 2006-10-17 18:50:33.187 Ascii transfer mode selected.
. 2006-10-17 18:50:33.187 Opening remote file.
> 2006-10-17 18:50:33.187 Type: SSH_FXP_OPEN, Size: 67, Number: 2051
. 2006-10-17 18:50:33.187 Sent 71 bytes
. 2006-10-17 18:50:33.187 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:33.187 Received 4 bytes
. 2006-10-17 18:50:33.187 Received 24 bytes
< 2006-10-17 18:50:33.187 Type: SSH_FXP_STATUS, Size: 24, Number: 1796
. 2006-10-17 18:50:33.187 Discarding reserved response
. 2006-10-17 18:50:33.187 Waiting for another 4 bytes
. 2006-10-17 18:50:33.250 Received 4 bytes
. 2006-10-17 18:50:33.250 Received 24 bytes
< 2006-10-17 18:50:33.250 Type: SSH_FXP_STATUS, Size: 24, Number: 2051
< 2006-10-17 18:50:33.250 Status/error code: 4, Message: 2051, Server: Failure, Language:
> 2006-10-17 18:50:33.250 Type: SSH_FXP_LSTAT, Size: 51, Number: 2311
. 2006-10-17 18:50:33.250 Sent 55 bytes
. 2006-10-17 18:50:33.250 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:33.250 Waiting for another 4 bytes
. 2006-10-17 18:50:33.312 Received 4 bytes
. 2006-10-17 18:50:33.312 Received 37 bytes
< 2006-10-17 18:50:33.312 Type: SSH_FXP_ATTRS, Size: 37, Number: 2311
. 2006-10-17 18:50:33.312 Asking user:
. 2006-10-17 18:50:33.312 Remote file 'indextemp.html' already exists. Overwrite?
. 2006-10-17 18:50:33.312
. 2006-10-17 18:50:33.312 New: 916 bytes, 3/23/2006 9:58:00 PM
. 2006-10-17 18:50:33.312 Existing: 0 bytes, 10/17/2006 7:45:08 PM ()
. 2006-10-17 18:50:33.640 Session upkeep
. 2006-10-17 18:50:34.140 Session upkeep
. 2006-10-17 18:50:34.640 Session upkeep
> 2006-10-17 18:50:34.640 Type: SSH_FXP_OPEN, Size: 67, Number: 2563
. 2006-10-17 18:50:34.640 Sent 71 bytes
. 2006-10-17 18:50:34.640 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:34.640 Waiting for another 4 bytes
. 2006-10-17 18:50:34.703 Received 4 bytes
. 2006-10-17 18:50:34.703 Received 13 bytes
< 2006-10-17 18:50:34.703 Type: SSH_FXP_HANDLE, Size: 13, Number: 2563
> 2006-10-17 18:50:34.703 Type: SSH_FXP_WRITE, Size: 904, Number: 3078
. 2006-10-17 18:50:34.703 Sent 908 bytes
. 2006-10-17 18:50:34.703 There are 0 bytes remaining in the send buffer
. 2006-10-17 18:50:34.703 Waiting for another 4 bytes
. 2006-10-17 18:50:35.031 Server exited on signal "PIPE"
. 2006-10-17 18:50:35.031 All channels closed. Disconnecting
. 2006-10-17 18:50:35.031 Server closed network connection
. 2006-10-17 18:50:35.031 Waiting for another 4 bytes
. 2006-10-17 18:50:35.031 Connection was lost, asking what to do.
. 2006-10-17 18:50:35.031 Asking user:
. 2006-10-17 18:50:35.031 Connection has been unexpectedly closed. Server sent command exit status 0. ()
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
The server closes connection for some reason. You may need to check its log file to learn why.
_________________
Martin Prikryl
Meer
[View user's profile]

Joined: 2006-10-17
Posts: 3
How do I do that?
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