cannot upload all of a sudden, file gets overwritten and remains 0 bytes

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
jepe
500 Command not understood
Posts: 2
Joined: 2021-10-09 12:27
First name: peter
Last name: j

cannot upload all of a sudden, file gets overwritten and remains 0 bytes

#1 Post by jepe » 2021-10-09 12:51

I know this has been a problem before,
for example: viewtopic.php?t=22291
BUT (!) it is not a server side issue...

I know this cause I walked over to my other machine and, using Filezilla, I could upload to the same website, using the same ftp username and pass....

any help would be great :)
sure, I can use my other machine...
but I need to know what's happening :)

any thoughts?

.....................................................................................................................

the error message at the bottom of the FZ window (failed transfers):

"couldn't start transfer"


and up there in the communication log window:

Status: Resolving address of [DOMAIN_NAME]
Status: Connecting to [IP ADDRESS: PORT]...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Starting upload of /home/USER_DIR/work/xxxxxx.php

Command: CWD /work <-- target directory :)

Response: 250 OK. Current directory is /work
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (XX,XX,XX,XX,93,2)

Command: STOR xxxxxx.php <-- file to UPLOAD :)

Response: 150 Accepted data connection
Response: 451-Error during read from data connection
Response: 451 Transfer aborted
Error: File transfer failed
Status: Starting upload of /home/USER_DIR/work/xxxxxx.php
Status: Retrieving directory listing of "/work"...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (XX,XX,XX,XX,184,64)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-Options: -a -l
Response: 226 32 matches total
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (XX,XX,XX,XX,25,51)
Command: STOR xxxxxx.php
Response: 150 Accepted data connection
Response: 451-Error during read from data connection
Response: 451 Transfer aborted
Error: File transfer failed
Status: Starting upload of /home/USER_DIR/work/xxxxxx.php
Status: Retrieving directory listing of "/work"...
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (XX,XX,XX,XX,213,121)
Command: MLSD
Response: 150 Accepted data connection
Response: 226-Options: -a -l
Response: 226 32 matches total
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (XX,XX,XX,XX,170,114)
Command: STOR xxxxxx.php
Response: 150 Accepted data connection
Response: 451-Error during read from data connection
Response: 451 Transfer aborted
Error: File transfer failed
Status: Retrieving directory listing of "/work"...
Status: Directory listing of "/work" successful
Status: Disconnected from server

jepe
500 Command not understood
Posts: 2
Joined: 2021-10-09 12:27
First name: peter
Last name: j

Re: cannot upload all of a sudden, file gets overwritten and remains 0 bytes

#2 Post by jepe » 2021-10-09 13:03

having restarted Filezilla, I started an upload afresh, without ticking the "do the same at every upload" (overwrite)

now it's clear that when uploading a file that doesn't exist on the server, the upload will stop at a point,
and ask for permission to overwrite the file that has been uploaded but being 0 bytes...

and it will start over, entering a LOOP...

oh, and one more thing:
why I use "all of a sudden" is because I had been using it all day... and all of a sudden it started... and from then on I couldn't upload anymore....

:::::::::::::::::::::::::::
Response: 227 Entering Passive Mode (XX,XX,XX,XX,223,67)
Command: STOR xxxxxx.php <-- the target file :)
Response: 150 Accepted data connection
Response: 451-Error during read from data connection
Response: 451 Transfer aborted



NOTE: this is very similar to that topic's OP: viewtopic.php?t=22291
it is, however, a good idea to post it, cause now we know that it is NOT a server side issue, nor is it a Filezilla problem :)

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: cannot upload all of a sudden, file gets overwritten and remains 0 bytes

#3 Post by botg » 2021-10-11 07:33

Too bad the server doesn't tell us which error it encountered.

Based on symptoms, I wonder if the server is majorly confused, talking about the data connection when the actual problem is writing to the file. What happens if you delete a large file prior to uploading?

Post Reply