-
Notifications
You must be signed in to change notification settings - Fork 3
Gtransfer examples
fscheiner edited this page Aug 22, 2013
·
7 revisions
This example transfers files from site A to site B using verbose output (-v
)
and the path with metric 1
(-m 1
). This path reroutes data between site A and site B
through site C.
After the last step (site C to site B) has completed, the temporary data at
site C is removed with a tgftp post command
(tgftp [...] --post-command "[...]"
):
$ gt -s gsiftp://gridftp-host.site-a:2811/scratch/32x128MB/ \
> -d gsiftp://gridftp-host.site-b:2812/scratch/32x128MB/ -v -m 1
Data path used:
/home/user/.gtransfer/dpaths/26883acd4225482d26e588e97df3d1d1c3740d02
Transfer step: 0
Default params used:
/home/user/.gtransfer/dparams/d86466c97a4eb60f73cbe63bdfca9f65779a915b
tgftp --source "gsiftp://gridftp-host.site-a:2811/scratch/32x128MB/" --target "gsiftp://gridftp-host.site-c:2813/transit/transitSiteTempDir.AXcwS7T9/" --log-filename "tgftp_transfer_14733__step_0.log" -- "-vb -p 32 -tcp-bs 8M -cc 8 -cd"
........
Transfer step: 1
Default params used:
/home/user/.gtransfer/dparams/ac684a72756fb8be0dae39c22811dd98da7775e2
tgftp --source "gsiftp://gridftp-host.site-c:2813/transit/transitSiteTempDir.AXcwS7T9/" --target "gsiftp://gridftp-host.site-b:2812/scratch/32x128MB/" --log-filename "tgftp_transfer_14733__step_1.log" --post-command "uberftp -rm -r gsiftp://gridftp-host.site-c:2813/transit/transitSiteTempDir.AXcwS7T9/ &" -- "-vb -p 32 -tcp-bs 8M -cc 8 -cd"
.....
INFO: The transfer succeeded!
This example does the same as #1 but uses the path with the default metric
(which is 0
) and default output. This performs a single-step (direct) transfer
between Site-a and Site-b:
$ gt -s gsiftp://gridftp-host.site-a:2811/scratch/32x128MB/ \
> -d gsiftp://gridftp-host.site-b:2812/scratch/32x128MB/
...........