create and send file to ftp server

but i didnt find that library to download it

Which library? The code for the FTP client is on that page. It just shows you how that works, you have to modify it to match your needs.