简体   繁体   中英

Has anyone setup SFTP with Google Cloud platform to trigger cloud function?

So I was able to setup SFTP so that I'm able to send a file to my VM instance on GCP.

However, does anyone have any guidance on how to then have a cloud function run at time of file being uploaded?

The objective is with our customers they send booking requests via SFTP in a certain EDI format. Would need a cloud function to then run off of what was sent.

Any direction would be greatly appreciated 🙏

As an idea to think about - you might like to implement a SFTP server on a VM in a such manner that it uses Storage Buckets for file management behind the externally exposed standard API. In that case you may be able to use storage events to trigger cloud functions.

I think such implementations do exist, so it should be possible to find some examples.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM