iPXE - Open Source Boot Firmware

[ftp] User and password URI support for the FTP protocol
authorgL2n30Y06arv2 <gL2n30Y06arv2@hotmail.com>
Tue, 29 Dec 2009 17:49:28 +0000 (17:49 +0000)
committerMarty Connor <mdc@etherboot.org>
Wed, 20 Jan 2010 23:18:47 +0000 (18:18 -0500)
commit93805d97652b0f7a00028fe1e9ad461a7b5d423c
tree156ba6c0573f5fde62634541c2cb98647a93bd5d
parent3d9dd93a1452e28c728483b03e352691238491ed
[ftp] User and password URI support for the FTP protocol

The default user and password are used for anonymous FTP by default.
This patch adds support for an explicit user name and password in an FTP
URI:

    imgfetch ftp://user:password@server.com/path/to/file

Edited-by: Stefan Hajnoczi <stefanha@gmail.com>.  Bugs are my fault.

Signed-off-by: Marty Connor <mdc@etherboot.org>
src/net/tcp/ftp.c