I tested metalink which has embedded username/pass in ftp URI and I could download it using aria2 0.16.2 successfully. Which version are you using, Patrick ?
On 11月13日, 午前4:14, Philipp Hagemeister <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Yes, you can. See RFC 3986 3.2, specifically 3.2.1. Metalink does not > define anything special for URIs. This is a bug (or a missing feature ;) > ) in aria2. > > Kind regards, > > Philipp > > > > patrick.surry wrote: > > I created a .metalink file that points to a couple of resources > > available by authenticated FTP. > > > I specified them as > > <resources> > > <url type="ftp" location="uk">ftp://user:[EMAIL PROTECTED]/ > > somefile.zip</url> > > <url type="ftp" location="uk">ftp:// > > someuser:[EMAIL PROTECTED]/somefile.zip</url> > > </resources> > > > But when I try to fetch the file with aria2c, I get errors like: > > > 2008-11-12 16:26:52 ERROR - CUID#6 - Download aborted. URI=ftp:// > > user:[EMAIL PROTECTED]/somefile.zip > > Exception: Failed to receive data, cause: An existing connection was > > forcibly closed by the remote > > host. > > > Should this work? I see aria2 allows me to specify --ftp-user and -- > > ftp-password but that seems to be a global setting whereas each of my > > URLs has a different authority. > > > Thanks, > > Patrick > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > > iEYEAREKAAYFAkkbKvYACgkQ9eq1gvr7CFwd+wCfWWoe1udp5s5Gy/3Kl7SKULE2 > P94AnR12P9keF5WzvAGRMgrtbrZ5kjVM > =Z/1k > -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Metalink Discussion" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/metalink-discussion?hl=en -~----------~----~----~----~------~----~------~--~---
