Power Users: Using Transmit with Mac to Automate File Transfers to a Remote Server
In today’s fast-paced world, manual work creates a huge drain on resources and prevents your clients from receiving the quick results they have come to expect over the internet. Thankfully, technology provides many options for automating manual tasks that must be routinely completed.
Here, we review a basic setup for automations using a Mac operating system (Big Sur Version 11.2.3 on a MacBook Air), Transmit FTP Client, and cloud SFTP storage with ExaVault.
If you own a macOS computer, you can create this automation for free with software trials. Many of the tips work when applied to different software packages and workflows.
What Should I Automate?
Your goal is to identify any tasks that can be automated to save you and your team valuable time and provide reliable results. For this example, we will be addressing the following use case:
Every week on Monday, I need to download the latest version of a data document (users_transactions.doc) to update internal reporting metrics.
Step 1: Collect Your Remote SFTP Server Information
For connecting an FTP client to your SFTP server, you will typically need some combination of the following information: Protocol, Port, Address / Server / Host, Username, and Password.
If you need an SFTP server for setting up this automation, visit ExaVault.com and select “Start Your Free Trial” to have an operating SFTP server running in about 5 minutes.
You’ll find the connection information in ExaVault by using the Connect with FTP option from the left navigation menu.
Confirm You Can Connect Your FTP Client to Your SFTP Server
If you have Transmit installed and are familiar with FTP Client software, you can skip to Step 2.
Otherwise, watch our video on how to get started with Transmit FTP client, or follow the instructions below.
If you have never connected an FTP client to a cloud-based SFTP server, follow these steps to confirm you are able to connect. You can visit panic.com/transmit and select Try It > Download Transmit Now for a free seven-day trial for this setup.
- Open the Transmit application.
- You will see the option for Quick Connect on the right pane.
- Select your Protocol. For this example, I am using SFTP. It will default to Port 22 for this connection. You can visit our blog post on FTP vs. SFTP for more information on picking the correct protocol for your needs.
- Add your server name in Address.
- Add yourUser Name for the server entered.
- Add your Password.
- Click Connect.
Once you establish a successful connection, your files in the ExaVault server will replace the Quick Connect screen. The right side pane will show the folders and files on your local machine.
Step 2: Create Your Automation
On your Mac, open the Automator application. Search for the application by using the ⌘+Space shortcut to open Spotlight Search and type automator.
First, you will need to enable the Transmit FTP Client automations by selecting Automator from the macOS menu bar. Then, select Third Party Automation Actions…. Check Enable Automator actions from third parties and click OK.
After third party actions are enabled, follow these steps to create your first automation with Transmit:
- Select File > New or the ⌘+N shortcut to create a new automation.
- Under Choose a type for your document: select Calendar Alarm and click Choose.
- Type transmit in the Action search bar and drag Download from the available actions into the workflow pane for the Calendar Alarm.
- Enter your server information from Step 1.
- Review the specific options (Resume Mode, Skip Files, and Destination) for your automation and update for desired workflow.
- To download a specific folder or file, use + sign under Remote File Path to enter a specific location. For this example, we are grabbing a specific file:
ExaVault URL = exavaultsupport.exavault.com/files/Weekly_Reports/users_transactions.doc
Remote File Path = /Weekly_Reports/users_transactions.doc
- You can also type quit into the Action search bar and drag Quit Application into the workflow pane to close the Automator app after the download is complete.
- Once you have all your settings, click the Run button to watch Automator complete the task as requested.
Some trial and error is often necessary to get the Automator set up as expected. But, once you receive the Workflow completed message and desired results, select File > Save and name your Calendar Alarm.
If your version of macOS encounters errors when saving, this Apple thread has steps for enabling additional permissions required.
Step 3: Update the Calendar Alarm Event
After you have saved your Calendar Alarm, the Calendar application will automatically open with a new event named after your saved workflow. Open the event to select the date and time of the first occurrence. In addition, select Repeat Weekly for the event to automatically run each week.
Your automation is now set! Once you have successfully created this first automation, you can create new automations for calendar events or other triggered actions. Simply update the specific options outlined above.
Originally published at https://www.exavault.com on April 20, 2021.