Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

aligncenter

Image Removed

...

On This Page

Table of Contents

Overview

The estimate content size feature will report the job progress during transfer. This option is defined in your job configuration within the source or the destination (sync jobs only) connection.  

Options include:

  • size_estimate:count

  • size_estimate:bytes

Job progress can be monitored using the following endpoint

GET {{url}}v1/jobs/{{job}}?fields=all

Code Block
Under execution:progress

Job JSON | Count Example

Count Example: For 1000 files, when 500 files have transferred to the destination the execution progress will report 0.5 or 50%.

Code Block
{
  "name":"Basic Job with Job Progress by Size Estimate Count",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
      "transfer_type": "copy",
      "source": {
        "connection": { "id": "{{nfs_connection}}" },
		"size_estimate": {
        	"count": 1000
		},
        "target": {
          "path": "/sourcePath"
		}
      },
      "destination": {
        "connection": { "id": "{{cloud_connection_destination}}" },
        "target": {
          "path": "/destinationPath"
        }
      }
  },
  "schedule": {
    "mode": "manual"
  }
}

Job JSON | Byte Example

Byte Example: For 1073741824 bytes (1GB), when 536870912 bytes have transferred to the destination the execution progress will report 0.5 or 50%.

Code Block
{
  "name":"Basic Job with Job Progress by Size Estimate Bytes",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
      "transfer_type": "copy",
      "source": {
        "connection": { "id": "{{nfs_connection}}" },
		"size_estimate": {
        	"bytes": 1073741824
		},
        "target": {
          "path": "/sourcePath"
    	}
      },
      "destination": {
        "connection": { "id": "{{cloud_connection_destination}}" },
        "target": {
          "path": "/destinationPath"
        }
      }
  },
  "schedule": {
    "mode": "manual"
  }
}