You may have often found yourself on a linux console where you need access to a file that you have stored on Google Drive, an Amazon S3 or Azure instance, or perhaps you want to transfer a file back from a local file system to one of these accounts. In either case it would be good to be able to do this without installing and setting up additional software.
SFTP to the rescue ! This guide will demonstrate how you can use the File Fabric’s support for SFTP to send or get a file to any of the 60+ storage endpoints that are accessible to the File Fabric.
To connect to the File Fabric it is standard SFTP syntax ie.
sftp -P 2200 username@<FileFabricDNSName>
Once you are logged in, this is where SFTP can work its magic.
This will print the remote File Fabric directory. By default it will be the root of your multi-cloud instance with all multi-cloud directories accessible
This will list the remote File Fabric directory infrastructure so will list your mapped multi-cloud accounts ie. Amazon S3, Google Storage, Azure etc.
This prints the local working directory
This will list the files in the local directory
This is the command to easily download a file from the File fabric to the local machine.
get remoteFileName localFileName
If you want to copy the remoteFileName to a different local FileName this is the command you will need.
Lastly if you would like to transfer a file from the local machine to the File Fabric you can simply execute a put.
SFTP is a real useful tool to have in your toolkit and with the Enterprise File Fabric it can easily be used with multi-cloud data.by