fetch images from FTP server using Google Apps Script

前端 未结 2 1072
你的背包
你的背包 2020-12-11 11:07

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@ft         


        
相关标签:
2条回答
  • 2020-12-11 11:32

    I have successfully gotten images off of remote servers into google apps script via the use of the UrlFetchApp Class.

    https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app

    0 讨论(0)
  • 2020-12-11 11:52

    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.

    0 讨论(0)
提交回复
热议问题