title: Transfering File from FTP to Google Cloud Storage via a Static IP
body: <p>I have created a <a href="https://cloud.google.com/functions/docs/networking/network-settings#associate-static-ip" rel="nofollow noreferrer">google cloud function</a> to set up static IP as my customer required a specific IP address to access their FTP network. My goal now is to update this cloud function to connect to my customer and retrieve files to my own Google Cloud Storage bucket.</p>
  <p>I've read various posts from <a href="https://stackoverflow.com/questions/31039500/auto-upload-remote-files-into-google-cloud-storage-via-ftp">here</a> and <a href="https://stackoverflow.com/questions/43486480/ftp-to-google-storage">here</a> and it seems that this is not very often done. Could I ask if this is possible? If so, could I ask for a pointer on which package to look into (I'm looking into <code>pysftp</code>  but no good documentations on using it via cloud function)? Lastly, am I correct that the <a href="https://www.google.com/search?q=google%20secret%20manager&amp;rlz=1C1RXQR_enCA999CA999&amp;oq=google%20secret%20manager&amp;aqs=chrome.0.0i512l5j69i60l3.2614j0j4&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow noreferrer">Secret Manager</a> is recommended for better privacy, especially since I will receive my customer's FTP password?</p>
  <p>Thanks so much everyone for your time.</p>