Use curl (through CURLHandle) to upload files over FTP