Score:0

Can't download file throught ftp with ascii mode

st flag

I'm trying to download file from my own ftp server, but there's a problem, when I try to do it with ascii option. Download goes for 1-2sec and then fails like this:

local: BF1.TXT remote: BF1.TXT
229 Entering Extended Passive Mode (|||28037|)
150 Open file... 
  8576 KiB    8.37 MiB/s ftp: Reading from network: Interrupted system call
    -1        0.00 KiB/s 
226 finished
WARNING! 4304 bare linefeeds received in ASCII mode.
File may not have transferred correctly.
221 Good bye!

When I use binary:

local: BF1.TXT remote: BF1.TXT
229 Entering Extended Passive Mode (|||2288|)
150 Open file... 
 34425 KiB    8.28 MiB/s 
226 finished
35251201 bytes received in 00:04 (8.16 MiB/s)
221 Good bye!

Also after checking with wireshark, I saw that in ascii client send RST ACK packet, but i don't really get why. Is there some problem with server? Or is it client fault?

P.S. Tried to download file with Filezilla(uses ascii option), Double Commander(uses binary) and lftp (used both types of transfer) all attempts were successful.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.