You are located in service: DigitalArchive

s3 connection using rclone (Windows)

s3 connection using rclone (Windows)

guide

 

Note

Rclone receives regular updates from the manufacturer. The instructions are tested accordingly and updated to reflect the latest version. Please keep your tool up to date using the following command: rclone selfupdate.

If there are any discrepancies in the instructions, focus on the individual steps rather than the selection options. If you have any questions, please contact the IT-ServiceDesk.

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 rclone, the following steps are necessary:


Download

Download the client software rclone: https://rclone.org/downloads/
Rclone is a single executable file (rclone or rclone.exe on Windows) that you can download as a zip archive and extract to a location of your choice.

Installation and configuration

Step 1

Call the command line. To do this, either enter "cmd" in the Windows search bar and confirm with Enter or use the Windows key + "R" and then type "cmd" and confirm with Enter.

Step 2

Now use the command line to call up the directory in which you have stored the rclone file.

Note: 

  • You change the directory with the command cd<path> for example: cd C:\FolderA\Folder1\rclone\. 
  • Note here that CMD does not support UNC paths (examples: "Downloads", "Documents",...). Therefore, please make sure that the downloaded rclone folder is located locally on the computer and the correct path is specified to it.

Step 3

Run the rclone config command.

For example: C:\Program Files\rclone-v1.57.0-windows-amd64>rclone config

Step 4

Now you've started the configuration of rclone. Create a remote access to the object storage by following the configuration steps.

Note: The commands may differ slightly depending on the rclone version, so pay less attention to the number you enter in the following steps and more attention to what you have to select.

 
  1. Press the n key to create a new remote.
    Rclone command console
     
  2. Choose a name for your digital archive, such as Test_Bucket.
    Rclone command console
     
  3. Under Storage type, select option 4: Amazon S3 Compliant.
    Rclone command console
     
  4. Under S3 Provider, select option 1: Amazon Web Services (AWS) S3.
    Rclone command console
     
  5. Under “Credentials,” select option 1: false.
    Rclone command console
     
  6. Enter the access key in the “access_key_id” field.
    Rclone command console
     
  7. Enter the secret access key in the “secret_access_key” field.
    Rclone command console
     
  8. Under “Region,” select option 2: US East.
    Rclone command console
     
  9. Enter the following value in the endpoint field:
    https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de:8483 (IPv4 only)
    or
    https://digitalarchiv.hcp-carl-s3.dasi.rwth-aachen.de:443 (DualStack/IPv6 only).
    Rclone command console
     
  10. Leave the `location_constraint` field blank and press Enter to skip this step.
    Rclone command console
     
  11. Under ACL, select Option 1: (Owner gets FULL_CONTROL.)
    Rclone command console
     
  12. No entry is required for `server_side_encryption`. Skip this step by pressing the Enter key.
    Rclone command console
     
  13. No entry is required for `sse_kmskey_id`. Skip this step by pressing the Enter key.
    Rclone command console
     
  14. No entry is required for storage_class. Confirm the step by pressing the Enter key.
    Rclone command console
     
  15. For “Edit advanced config?”, press:
    y) Yes: for advanced configurations
    n) No: for default
    Rclone command console
     
  16. Confirm the configuration with y.
    Rclone command console
     

The last input completes the configuration and you have now created a connection to your bucket.

Upload files

Starting point: From the command line, call the directory where you placed the software file and run the rclone copy command.

  • Generic

rclone copy --s3-no-check-bucket <Dateipfad> <RemoteName:Bucketname>\

  • Concrete

rclone copy --s3-no-check-bucket C:\testfile_MyDigitalarchiv:ABC-1234567\

  • With more spending

rclone copy --s3-no-check-bucket C:\testfile_MyDigitalarchiv:ABC-1234567\ -v

 

Multithread

Rclone offers the possibility of a multithread upload/download.

Note: When dividing, the size of the sections depends on the load and equipment of the server. In the following examples we have chosen a size of 4 MB. The specification of the --s3-upload-concurrency  also depends on this. 

 
  • Generic

rclone copy --s3-no-check-bucket [file] [RemoteName]:[Bucketname] \ --multi-thread-cutoff [section size] --multi-thread-streams [size] --s3-upload-concurrency [size]

  • Concrete

rclone copy --s3-no-check-bucket testfile MyDigiatlarchiv:ABC-1234567 \ --multi-thread-cutoff 4M --multi-thread-streams 4 --s3-upload-concurrency 4

  • With more spending

rclone copy --s3-no-check-bucket testfile MyDigiatlarchiv:ABC-1234567 \ --multi-thread-cutoff 4M --multi-thread-streams 4 --s3-upload-concurrency 4 -v

 

Download files

To download objects, first specify their bucket name and then the location where you want to save their objects.

 

  • Generic

rclone copy "<RemoteName>:<Bucketname>/<Objectpath>" "<storage location>"

  • Concrete

rclone copy "<RemoteName>:<Bucketname>/<Objectpath>" "<storage location>"

  • With more spending

rclone copy "MyDigiatlarchiv:ABC-1234567/dataname" "local directory" -v

 

Note:

  1. Run rclone ls [RemoteName]:[BucketName] to view a list of the objects in your bucket.
  2. To upload or download a single file, specify the full path, including the file extension (e.g., .txt, .pdf, .jpg). Examples:
    1. Upload (local → bucket): C:\Folder\file.pdf
    2. Download (bucket → local): MyDigitalArchive:ABC-1234567/file.jpg
 

last changed on 07/30/2026

How did this content help you?

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