Problem

The connection to the Data Archive was dropped while I was downloading or uploading data. How do I know if my data was properly and completely transferred?

Solution

You can compare the file size and checksum of the uploaded data with that of the file on your local or compute system.

Log in to the Data Archive. Then:
  1. Locate the file you have been uploading, e.g. by changing to the directory:

    cd <directory>
  2. To get the file size of the file, run the following command:

    ls -l <filename>

    The file size will be listed in the column before the date and file name.

  3. To get the checksum of the file, run the following command:

    md5sum <filename>

    The file size will be listed in the first column.


To get the file size of your file, either use an application like Exporer or Finder by displaying the file information dialog or get a listing of the directory that contains it.

Depending on the OS you are using, either open Command Prompt (Windows), Terminal (MacOS) or your OS's terminal application (Linux).

  1. Locate the file you have been uploading, e.g. by changing to the directory:

    cd <directory>
  2. To get the file size of the file, run the following command:
    For MacOS and Linux users:

    ls -l <filename>

    The file size will be listed in the column before the date and file name.

    For Windows users:

    dir <filename>
  3. To get the checksum of the file, run the following command:

    CertUtil -hashfile <filename> MD5

    The file size will be listed in the first column.


If both the file name and file checksum match between the Data Archive and your local system, the transfer was successfully completed and there is no need to upload or download the file again.

If not, make sure to repeat your action.

Related articles

Related issues