Answer the question
In order to leave comments, you need to log in
ftp.exe not uploading files
Hey Habr.
Actually, the subject, but with one significant clarification - it does not download only through ftp.exe and only on one machine , while other ftp clients work (Filezilla, Total Commander, even Explorer).
I checked it on two more machines connected, however, to another provider - everything is fine.
Windows 7, white IP, no router, firewall disabled, Comodo Firewall installed, but set to "Inactive" state (also checked in working mode, ftp.exe is trusted, no restrictions).
I found a similar problem, they advised me to change the IE settings - it does not help.
Tried to switch to passive mode - does not help.
I run it as ftp -n -d -s:D:\ttt\ftp.comm , where ftp.comm contains:
open host.name.ru
USER dummy 123456
put D:\ttt\test.zip
bye
C:\Users\JhaoDa>ftp -n -d -s:D:\ttt\ftp.comm
ftp> open host.name.ru
Связь с host.name.ru.
220 (vsFTPd 2.2.2)
ftp> USER dummy 123456
---> USER dummy
331 Please specify the password.
---> PASS 123456
230 Login successful.
ftp> send D:\ttt\test.zip *** файл в пару килобайт
---> PORT xx,xx,xx,xx,29,78
200 PORT command successful. Consider using PASV.
---> STOR test.zip
150 Ok to send data.
*** проходит минут 5, я нажимаю Ctrl+C, ибо дальше ждать бесполезно
*** если не трогать, то и час висеть будет
Разрыв любых активных подключений...
226 Transfer complete.
ftp> bye
---> QUIT
221 Goodbye.
Apr 17 20:00:15 vsftpd[8921]: [dummy] OK LOGIN: Client "xx.xx.xx.xx"
Apr 17 20:00:36 vsftpd[8924]: [dummy] OK UPLOAD: Client "xx.xx.xx.xx", "/test.zip", 0.00Kbyte/sec
Answer the question
In order to leave comments, you need to log in
Take a traffic dump and look at it. (under Windows - wireshark is possible). In theory, after your FTP client has sent the PORT command, the server should connect to it. See if there are server attempts to connect at this time. Just try to connect from any server in the world to your machine (client) on an arbitrary non-standard port - you should see the traffic in wireshark. Maybe your ISP cuts all the same. Or they (on the FTP server) have a particularly fascist firewall that does not allow such outgoing connections.
We had this on New Year's Eve. from all hosts it was flooded / overwritten, from where they were sitting - no, no client
woke up the administrator of the provider at night, fortunately he was also out
of touch in general, reboot the car
Give the command PASV before PUT, the remote server advises you. Most likely, an active FTP is hidden somewhere, maybe even at the remote end.
Here is what Wireshark shows:
FTP 105 Response: 200 PORT command successful. Consider using PASV.
FTP 69 Request: STOR test.zip
TCP 60 ftp > kjtsiteserver [ACK] Seq=129 Ack=73 Win=14720 Len=0
FTP 76 Response: 150 Ok to send data.
и тут же
FTP 78 Response: 226 Transfer complete.
TCP 54 kjtsiteserver > ftp [ACK] Seq=73 Ack=190 Win=8004 Len=0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question