How to Make a Scedualed Upload for Google Drive
We've already showed you how to configure JSCAPE MFT Server to monitor a directory for newly added files and so upload those files to either Amazon S3 or Azure Files. So today, as we show you how to upload files to Google Storage, allow's do something unlike. Instead of waiting for newly added files, let's try uploading files on a pre-divers schedule.
What we want to exercise
Here's a diagram illustrating what we want to do.
Prerequisites from Google Cloud Storage
Before you starting time configuring anything on JSCAPE MFT Server, you lot need to have a Google Storage bucket set up kickoff. Yous besides need to create a Google Cloud Service Account and obtain that account'south respective private key (a JSON file). We assume you tin take intendance of those yourself.
Once you lot take that individual fundamental ready, you tin can then proceed to JSCAPE MFT Server and fix upwardly a trading partner for that Google Deject Storage service account.
Creating a Google Cloud Storage Trading Partner
A trading partner is a JSCAPE MFT Server object that holds all the information you need to connect to a particular remote service. In our case, that service is on Google Deject Storage. For more than information virtually trading partners, lookout man this video:
To create a Google Storage trading partner, go to the Trading Partners module and click the Add push.
Select Google Cloud Storage from the drop-downwardly list and click OK.
Once the Add 'Google Cloud Storage Trading Partner' dialog is displayed, enter a name for the trading partner. You may too enter other pieces of information like your partner's Visitor and its contact email accost. After that, select 'Use individual cardinal credentials' and browse to the JSON file yous obtained before from Google.
Click the Examination Server button to bank check if you tin can brand a connection. If the test succeeds, click OK and proceed to create the trigger that would upload your files to that trading partner.
Creating a time-based trigger for uploading files to that Google Storage trading partner
To create a time-based trigger for uploading files to that Google Storage trading partner on a pre-defined schedule, go to the Triggers module and click the Add push.
Select Electric current Time from the Event type drop-down list and click Next.
The next footstep would be to specify a schedule on which the upload should take place. Y'all tin use the Time Expression dialog box to generate the needed expression.
Click Side by side to go along.
Later that, select the Trading Partner Regex File Upload action from the driblet-downwardly list and then click OK.
In the succeeding dialog, do the following:
- Select the trading partner you created earlier from the Partner drop-down list;
- Specify theLocal Directory from which files you desire to upload are located;
- Select Wildcard from the Expression Type;
- Enter*.* in the Regular Expression box;
- In the Remote Directory field, specify the name of the Google Storage bucket (or a directory inside that saucepan) where you want the files to be uploaded to.
- [Optional] Tick the Delete on Success checkbox to delete each file that's uploaded successfully.
Click OK when done.
That's it. Now you know how to set up a scheduled file upload to a Google Storage bucket or binder using JSCAPE MFT Server.
Would you lot similar to try this out yourself?
Download the free, fully-functional Starter Edition of JSCAPE MFT Server now.
Related content
How To Leverage Deject Storage Services When Dealing With Loftier Volume File Transfers
Amazon S3 vs Local Storage - Where Should You Store Files Uploaded to Your File Transfer Server?
How To Use Amazon S3 As The File Storage Organisation of Your MFT Server
How To Connect and Upload Files To an Amazon S3 Trading Partner
Want to exist updated on posts like this? Connect with u.s....
Topics: JSCAPE MFT Server, Managed File Transfer, Business organization Procedure Automation, Tutorials, Triggers, Multiple File Uploads
Source: https://www.jscape.com/blog/how-to-schedule-automated-file-uploads-from-your-server-to-google-storage#:~:text=To%20create%20a%20time%2Dbased,down%20list%20and%20click%20Next.
0 Response to "How to Make a Scedualed Upload for Google Drive"
Post a Comment