The BCM-HGSC Managed File Transfer System

This page contains instructions for connecting to the BCM-HGSC Managed File Transfer System (MFTS). For information on how to connect to our public FTP server, please refer to our FTP help page.

The BCM-HGSC MFTS provides SSH File Tranfer Protocol (SFTP) and HTTPS access to faciliate the secure transmission of data. Designated collaborators and researchers will be provided an MFTS account name and password by email.

If you have trouble accessing your account, please write to questions@hgsc.bcm.edu.

You may connect to your file transfer account using your web browser, an SFTP client, or a command line interface. You cannot access your account through plain FTP or FTPS.

Use a web browser to connect at:

https://hgsc-sftp1.hgsc.bcm.tmc.edu

Help using the web browser interface

For instructions on using the web client interface, log in and then click on the "help" link that is located near the top, right-hand corner of the interface.

Notes about using the web browser interface

The web browser interface client offers two interfaces: enhanced and basic.

Macintosh users: use the basic interface

Windows users: use the enhanced interface (gives a better UI and the ability of automatic checksums)

SFTP settings:

Host: sftp://hgsc-sftp1.hgsc.bcm.tmc.edu:9910

Your SFTP client may require you to enter the host name and port number seperately, as follows:

Host: sftp://hgsc-sftp1.hgsc.bcm.tmc.edu
Port: 9910

Please be sure that the hostname that you are typing begins with sftp:// and not http://, https://, or ftp://.

SFTP client products

While we do not endorse a particular SFTP client, here are a few that are available:

You can use command line SFTP by using the following command:

sftp -oPort=9910 username@hgsc-sftp1.hgsc.bcm.tmc.edu

Replace "username" with your actual username provided by BCM-HGSC.

Commands

cd somedirectory - can move into a directory if needed
get * - download all files in current directory to your local machine
get somefilename.bam - to download a specific file
put * - to upload all files from your current directory on your client machine to HGSC
put somefilename.bam - to upload a specific file
exit - exit command will close the connection

Updating the SSH config

If you receive an error while attempting to connect stating that no matching cipher was found, you may need to update your SSH config.

Open ~/.ssh/config in the editor of your choice and add the following line:

Ciphers +aes256-cbc

Add a cipher directly to the command line

As a one-off, you can also add the -c option to specify the cipher for encryption as follows:

sftp -c aes256-cbc -oPort=9910 username@hgsc-sftp1.hgsc.bcm.tmc.edu

Replace "username" with your actual username provided by BCM-HGSC.

Although the SFTP protocol will work for you, the stock "sftp" client that ships with most Linux distributions is inefficient, because the sftp command is geared to downloading one file per subcommand.

The solution is to use lftp which is a terminal client that supports multiple protocols and has a more modern perspective.

https://en.wikipedia.org/wiki/Lftp

For Redhat & Centos systems you can install lftp like this:

sudo yum install lftp

For Ubuntu (Debian) systems you can install lftp like this:

sudo apt-get install lftp

This is a sample session:

[ec2-user@ip-xx-xxx-xx-xxx ~]$ sudo yum install lftp
[ec2-user@ip-xx-xxx-xx-xxx ~]$ mkdir test1
[ec2-user@ip-xx-xxx-xx-xxx ~]$ cd test1
[ec2-user@ip-xx-xxx-xx-xxx test1]$ lftp sftp://username@hgsc-sftp1.hgsc.bcm.tmc.edu:9910 [^]
Password:
lftp username@hgsc-sftp1.hgsc.bcm.tmc.edu:~> mirror
Interrupt
lftp username@hgsc-sftp1.hgsc.bcm.tmc.edu:/> mirror -c
Total: 52 directories, 102 files, 0 symlinks
New: 73 files, 0 symlinks
9050 bytes transferred in 7 seconds (1.3K/s)
lftp username@hgsc-sftp1.hgsc.bcm.tmc.edu:/> exit
[ec2-user@ip-xx-xxx-xx-xxx test1]$ logout