You are located in service: DigitalArchive

s3 connection using WinSCP

s3 connection using WinSCP

guide

To connect to a bucket from the Digital Archive using an S3 client, you need:

  • For IPv4-only systems:
    • Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
    • Port: 8483
  • For IPv6-only systems:
    • Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
    • Port: 443
  • For IP DualStack:
    • Server name: https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
    • Port: 443
  • Access Key
  • Secret Key
  • Bucket Name

You can view the endpoint on the data project info page. You will get this from the admins of the corresponding data project in SeviRe to which your s3-bucket belongs.

If you want to establish the connection via WinSCP, the following steps are necessary:


 

Note

Screenhots still show Coscine ressources. Please refer to the text for correct data.

Install WinSCP 

Based on WinSCP version 5.19.3

Download WinSCP and run the installation program:

https://winscp.net/eng/download.php

For the installation you need admin rights.

Screenshot of the WinSCP download page. Located beneath the list of new features is the button "DOWNLOAD WINSCP 5.19.3 (10.9 MB)".

Alternatively, you can download the portable version, which you can use without installing and thus without admin rights. We will work with the portable version in this tutorial.

Download the portable version:

Screenshot of the WinSCP download page. Located beneath the main download area are three subcategories. First the "Portable executables" category with the "DOWNLOAD" button at the bottom.

Configure a new connection

Step 1

Start WinSCP via the WinSCP executable:

Screenshot of the Windows File Explorer window showing the open folder "WinSCP-5.19.3-Portable". Located in the file list, next to other files such as "license.txt", is the application "WinSCP.exe", identifiable by its lock icon.

Step 2

Immediately after startup, an input window will open, allowing you to configure a new connection.

Screenshot of the WinSCP window with the "Login" dialog in the foreground. The "Session" area contains, from top to bottom: The "File protocol" dropdown menu (default: SFTP), and input fields for "Host name", "Port number", "User name", and "Password".

Step 3

Select "Amazon S3" in the "File protocol" field and copy the values listed in the table below into the respective fields of the input mask.

Screenshot of the WinSCP login window. "Amazon S3" is selected in the "File protocol" dropdown menu. Below are the input fields "Host name and "Port number" (443). Followed by two fields for "Access key ID" and "Secret access key".

There are a total of five input fields to fill in - please refer to the resource configuration in Coscine [link to instructions] or RWTH Publications for the corresponding values. In the case of RWTH Publications, you will find the document "Datenzugang_DataAccess.pdf" for your data set. All relevant data is stored there. Note that the Host name field in WinSCP corresponds to the Entry point field in Coscine. If you copy the value, you should paste it without https:// prefix and without port postfix in WinSCP, otherwise an incorrect redirection will be made. For simplicity, you should copy the host name value given below.

WinSCPDigitalArchive
Host namedigitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de
Port number443
Access key IDAccess Key (Reading or Writing)
Secret access keySecret Access Key (Reading or Writing)

Step 4

Now click "Login" to connect to the resource. You can save the connection configuration beforehand for later reuse by clicking on the "Save" button. This is recommended so that you do not have to re-enter the above data over and over again.

If you are prompted with a certificate error, you are probably using an outdated version of the WinSCP client. Compare the version you are using with the version on the download page given in section 1 and update if necessary. You should always use the latest version of the WinSCP client.

Open bucket

After the connection is established, you will be connected to the "root" directory only and not your s3 bucket.

You now have to open the directory (in this case the corresponding S3 bucket) to get access to the data.

Step 1

Click on the "Open directory/bookmark" button or press the key combination (Ctrl+O):

Screenshot of the WinSCP user interface. Above the right-hand window pane (remote side) is a toolbar. The "Open directory/bookmark" button (folder icon) is highlighted, located to the left of the filter icon (funnel).

Step 2

An input mask opens, in whose input field you have to enter your "Bucket Name"

Screenshot of the "Open directory" dialog window. The top dropdown field "Open directory” shows the bucket name. The "OK" button is located at the bottom center to confirm.

Step 3

Confirm your input by clicking the "OK" button. If everything went smoothly, you should now be able to see your files in the right part of the window and interact with them.

Screenshot of the WinSCP user interface. The window pane for the remote environment (Remote side) now displays the content of the opened bucket.

Interacting with files

Select the files you want to interact with and right-click on them. A context menu will open, allowing you to perform various actions on the selected files. 

Please note: Changing the data in the DigitalArchive is not intended. Due to the use of WORM storage in the DigitalArchive, direct editing of files is not possible. Changes can only be made by downloading, modifying and then uploading with a customized file name.

Screenshot of the WinSCP user interface. In the right window pane, multiple files are selected. The open context menu displays file management options, including "Download", "Delete", and "Properties".

Optimizing data transfer in WinSCP

WinSCP transfers files in foreground mode by default, whereby only one file at a time is processed.

This can take a lot of time when transferring many files.

By adjusting the settings, WinSCP can be configured to transfer multiple files simultaneously.

Screenshot of the WinSCP menu bar. The "Options" menu (German: Einstellungen) is expanded. At the bottom of the list, the entry "Preferences …" (Shortcut Ctrl+Alt+P) is selected.

Screenshot of the "Preferences" window. In the left menu tree, under the "Transfer" category, the item "Background" is selected. On the right side, within the "Background transfers" section, the value in the field "Maximal number of transfers at the same time" is set to "9".

Screenshot of the WinSCP interface. A context menu is open within the file list. The entry "Upload ..." opens the adjacent sub-menu, the option "Upload in background ..." is selected.


last changed on 12/09/2025

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License