Transferring data files using SFTP

Transferring data files using SFTP

Introduction

This tutorial will demonstrate use of SFTP (Secure File Transfer Protocol) to transfer files into an application instance.  Files can be read/write to the operating system disks or the Denvr Storage platforms using the /data/ filesystem.

We will use Ubuntu 22.04 Application Bundle for this example.

Launch Ubuntu application

For additional documentation on how to launch an Application please refer to Running your first application




Using SFTP from the command line 

Click on 'Application Access' from the application status page.  You can copy the complete command line if you plan to use Terminal.



Please note:
  1. This command line assumes you are using the default SSH identity file '~/.ssh/id_rsa' and that the application was created with the associated public key.
  2. If you use a separate identity file you can specify the command line as
sftp -i PRIVATEKEY ubuntu@130.250.170.12
The server Public IP address is always displayed in Application Access:


Using SFTP with desktop clients

You can also access your application containers using common SFTP clients:
  1. Microsoft Visual Studio Code - Remote Development Extension Pack
  2. WinSCP
  3. Solarwinds Solar-PuTTY
Follow the instructions for these tools with the Public IP address, username, and private identity file as above.

Accessing storage volumes

After you connect to the SFTP service you will see links to your data filesystems
  1. $HOME/personal (archive storage, restricted access to your user only)
  2. $HOME/shared (archive storage, shared for all users in your tenant only
  3. $HOME/scratch (local attached storage)
  4. $HOME/PDV-NAME (high performance persistent volumes)


These volumes are also available if you change to the /data/ directory.