I have attachments in my Gmail mail threads and i have written code to get attachments from mail and i am trying to upload it on a FTP location using Google script but it seems there is no suitable API provided for it.
Please suggest any other methods to solve this problem using google script.