Thursday, September 17, 2009

The Dreaded Pure-ftpd

Thanks to Dragkh’s Blog ( , I finally found the solution to this error message in my embedded ftp client after a few hours of attempts:

ftpget: Sorry, invalid address given

It wasn't the ftp client fault, but it was because the Pure-ftpd (ftp server) misbehaved. The fix is simple, just invoke Pure-ftpd with the -H parameter, like this:

pure-ftpd -B -H

The -H parameter means "Don't resolve host names ("" will be logged instead of "")". It should've been explained in the README file of Pure-ftpd source code, but it wasn't. At least someone poested the fix :-(.