Upload and download files from and to HORNET cluster
This page provides instructions on how to copy files to and from the Hornet cluster
Secure Copy or SCP is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol.
How to SCP (Secure Copy) with FileZilla on Windows
You can easily transfer files from a server that has SSH (Secure Shell) running but not FTP (File Transfer Protocol) using Filezilla on Windows. When using Filezilla it will be called SFTP (Secure File Transfer Protocol) and will allow you to copy files from a server to your local Windows computer with ease. Follow the simple steps below to securely copy files from a server that is running SSH.
1 Open Filezilla: First you will need to launch Filezilla. If you do not have Filezilla you can obtain it for free from this link. Then please install it on your system.
2 Open Site Manager: Click on File in the top navigation menu and then select “Site Manager”:
This will open Filezilla’s Site Manager, as shown below, where you can add, delete, and modify sites that you visit often.Now you can follow the operations in the figure below.
Now Filezilla will give you a response as below, it means you connect successfully. Then, you click "ok" button on the pop window.
Finally, Filezilla shows the information below. You can now upload or download files.
3 upload or download file Assume you want to upload file "1.png" under file folder "C:\Users\boh10002\Desktop\" in your computer to the file folder "/home/boh10002" in the server, as shown below. Then you choose the file want to upload and right click your Mouse button. A window pop up, you choose the upload option and file begins uploading. You can also change the folder in your computer or server as shown in below.
It is similar for download operation.
Alternative SCP client on Windows
An alternative SCP client WinSCP could be downloaded from http://ninite.com/.
SCP under linux platform
The SCP program is a software tool implementing the SCP protocol as a service daemon or client. It is a program to perform secure copying. The SCP server program is typically the same program as the SCP client.
Perhaps the most widely used SCP program is the command line scp program, which is provided in most SSH implementations. The scp program is the secure analog of the rcp command. The scp program must be part of all SSH servers that want to provide SCP service, as scp functions as SCP server too.
Typically, a syntax of scp program is like the syntax of cp:
Copying file to Hornet cluster:
scp SourceFile firstname.lastname@example.org:directory/TargetFile
Copying file from Hornet cluster:
scp email@example.com:directory/SourceFile TargetFile scp -r firstname.lastname@example.org:directory/SourceFolder TargetFolder
Note that if the remote host uses a port other than the default of 22, you can specify it in the command. For example, copying a file from host:
scp -P 2222 user@host:directory/SourceFile TargetFile