Menu

#177 Reduce number of FTP control connections

closed
nobody
None
5
2012-09-28
2010-05-13
No

Hi,

I am using aria2-1.8.2 currently - not the newest, I know, so bear with me - and I noticed that doing a multi-connection FTP download aka

aria2c -s 20 ftp://foobar.com/bla.iso

Opens 20 control connections to the server. If not already implemented in a newer version, it would be cool if aria could exploit FTP's design and try to use just one control connection and drive the 20 data connections from this one. It could potentially work around slow servers that only allow one login.

Discussion

  • tujikawa

    tujikawa - 2010-05-19

    Do you mean multiple connections at the same time?
    I'm not sure that we can create multiple connections at the same time from one control connection. FTP has ABOR command and it tells server to drop data connection. If multiple connections are used, I think ABOR command cannot know which data connection should be dropped.
    Does anyone know about this issue?

     
  • Jan Engelhardt

    Jan Engelhardt - 2010-05-24

    Yeah, you are right, there is no unambiguous way to abort one connection.
    Furthermore I noticed that some ftpds like vsftpd block on RETR, so that no ABOR is processed :-/

     

Log in to post a comment.

Auth0 Logo