SFTP
ReCAP middleware has a provision for transferring files such as reports, data files or anything else to a FTP server.
Transferring files
In order to transfer files, you will need the following;
- Private key
- Host URL
Please contact your institution or peri.subrahmanya@htcinc.com to obtain the private key. The host url is devops-recap.htcinc.com and there are few different ways you can connect.
- Command Line: If you are going to use command line, ssh client must be installed on your machine. For Unix/Linux based systems (Ubuntu, Mac), it comes pre-installed. For windows, you could choose to use command line or a GUI, explained in the point 2.
- Use the following command to connect to the server:
- sftp -i "path to the key file" recapftp@devops-recap.htcinc.com
- Once connected, you can upload the files with the following command:
- put "file name"
- Use the following command to connect to the server:
- Graphical User Interface (GUI): Install any FTP client or Filezilla.
- Open Filezilla.
- Go to Preferences or Settings.
- You should see the settings dialog as shown in the screenshot below.
- Add the key file (that you obtained earlier) and click "Add Keyfile" to add the key.
- In the Host section: devops-recap.htcinc.com
- In the username section type in "recapftp"
- There is no need for a password since the private key will be used for authentication/authorization.
- In the port section type in "2222"
- Click on "Quickconnect".
- Once you are connected, you can transfer files from your local machine to server.