Unable to execute outgoing FTP requests from Google Apps Script (there is a similar limitation from App Engine).
You can either find the HTTP interface for the server (some sites offer both HTTP and FTP), or upload files via an FTP client, then upload to Google Drive and then access these files.
Remember to find / register an item in Track Release .
source
share