I need to fetch some images that are stored in a FTP server, using Google Apps Script
The images are accessible only by FTP as
ftp://user:password@ftpsite.com/path2photos/photo123.jpg
Any ideas?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not possible to make outbound FTP requests from Google Apps Script (there is a similar restriction from App Engine as well).
You are options are either to find an HTTP interface to the server (some sites offer both HTTP and FTP), or download the files through an FTP client and then upload to Google Drive and then access those files from there.
Feel free to look for/log an item in the Issue Tracker.