You are in luck, I've just posted the code to a small Ftp Server at
diddyftpserver - Google Code
You can embed this in an application and use it as a feature for uploading/downloading files to and from it.
Its under the LGPL which allows you to use it without opening up the source to the rest of your app. but means that if you make changes to the library, fixing bugs etc, you must make those changes available. In this way we can all benefit.
Hope its useful