fget is a commandline tool for mirroring remote files via FTP. It is based upon the included FTP client library, whose API is designed to resemble the normal Unix API for accessing files and directories. This interface should make it very easy to integrate FTP support into other applications.