{question}
How do I send/receive large files with NuoDB support using SFTP?
{question}
{answer}
As a NuoDB licensed customer, you should have an SFTP account set up with us.
- If your organization does not already have an SFTP account, submit a request to us here.
- You will receive an email with your SFTP connection information and password.
- Open up a bash terminal
- Windows users can run the Command Prompt.
- Linux/MacOS users, open the Terminal.
- Make sure you are running the terminal in the same directory as the files you wish to upload. If not navigate to desired directory:
- For instance, if your file nuodiag.tar in your Desktop folder, run the command
$ cd Desktop
- For instance, if your file nuodiag.tar in your Desktop folder, run the command
- Sign in to your SFTP account through a bash terminal. Your connection string will likely resemble this:
$ sftp organization@sftp.nuodb.com
- Enter the password sent to you in the email from NuoDB Support.
- If you do an ls command to list files and directories, you will see there is a folder called incoming - this is the folder that NuoDB Support will check for incoming files.
- Enter the incoming directory
cd incoming
- To upload the file, use the put command.
-
$ put nuodiag.tar
- If you want to upload a directory recursively instead of a single file, use the -r flag:
$ put -r nuodiag_directory/
- You will see a progress bar as your file uploads.
-
- Capture the current directory, and the name of the file/folder you uploaded:
$ pwd
- Send this directory path to NuoDB Support, and we will sign in and download the files you put there.
Note: Windows users could use some of the popular GUI tools for SFTP access like:
- WinSCP
- FileZilla
{answer}
Comments