This guide walks you through the process of connecting the SwiftDraws app to the order server and sending a CSV file via SFTP.
Open Terminal (macOS/Linux) or WSL, Bash, or PowerShell (Windows), then run:
ssh-keygen -t rsa -b 4096 -f ~/transfer_user_key -C "LAB_NAME"
LAB_NAME
with your company name.~/transfer_user_key
~/transfer_user_key.pub
Run the command below to display your public key:
cat ~/transfer_user_key.pub
It will output something like:
ssh-rsa C1ADKKEDAKMDKDADAQD... LAB_NAME
ssh-rsa
to the end and send it to SwiftDraws support.
Once your key is registered, connect using:
sftp -i ~/transfer_user_key LAB_NAME@s-03cdfeb3530d41f1a.server.transfer
sftp
: Starts the secure file transfer client.-i ~/transfer_user_key
: Uses your private key for login.LAB_NAME@...
: Specifies your username and AWS SFTP endpoint.
At the sftp>
prompt, type:
put /Users/UserName/Documents/order_filled.csv
To check if your file uploaded correctly, type:
ls
You should see a list of files including your uploaded CSV.
To close the SFTP session, type:
exit
This cleanly ends your session.
You can download a ready-to-use sample CSV file for SwiftDraws:
Download Sample CSV