-1

I have created a google cloud function 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.

I've read various posts from here and here 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 pysftp but no good documentations on using it via cloud function)? Lastly, am I correct that the Secret Manager is recommended for better privacy, especially since I will receive my customer's FTP password?

Thanks so much everyone for your time.

Kev
  • 41
  • 6

1 Answers1

0

Per request, I am posting an answer here. Turns out I need to establish a SFTP connection. Both SFTP and FTP terms were floating around which makes it hard to get a better understanding, but I was able to use the paramiko package to connect to the desired server.

Kev
  • 41
  • 6