| 1 | [[PageOutline]] |
| 2 | |
| 3 | == QCG remote transfer syntax == |
| 4 | |
| 5 | === GridFTP === |
| 6 | {{{ |
| 7 | gsiftp://{host}[:{port}]/{path} |
| 8 | gridftp://{host}[:{port}]/{path} |
| 9 | }}} |
| 10 | where: |
| 11 | `{host}`:: |
| 12 | address of the GridFTP service |
| 13 | `{port}`:: |
| 14 | optional port number of the GridFTP service (2811 by default) |
| 15 | `{path}`:: |
| 16 | path to the file/directory; if not begins with `/` (slash), ie. single slash character between address and path part, then the path is treated as a relative to home directory |
| 17 | |
| 18 | Examples: |
| 19 | {{{ |
| 20 | gsiftp://qcg.man.poznan.pl/plik.txt |
| 21 | gsiftp://qcg.man.poznan.pl:2811///home/plgrid/plgkopta/reef/plik.txt |
| 22 | }}} |
| 23 | |
| 24 | |
| 25 | === GridFTP === |
| 26 | {{{ |
| 27 | ftp://[{user}[:{pwd}]@]{host}[:{port}]/{path} |
| 28 | }}} |
| 29 | where |
| 30 | `{user}`:: |
| 31 | optional user name |
| 32 | `{pwd}`:: |
| 33 | optional user's password |
| 34 | `{host}`:: |
| 35 | address of the FTP service |
| 36 | `{port}`:: |
| 37 | optional port number of FTP service (22 by default) |
| 38 | `{path}`:: |
| 39 | path to the file/directory; if not begins with `/` (slash), ie. single slash character between address and path part, then the path is treated as a relative to home directory |
| 40 | |
| 41 | Examples: |
| 42 | {{{ |
| 43 | ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-3.9.gz |
| 44 | ftp://pkopta:haslo@serwer.ftp.man.poznan.pl:22/plik.txt |
| 45 | }}} |
| 46 | |
| 47 | === HTTP/HTTPS === |
| 48 | {{{ |
| 49 | http://{host}[:{port}]/{path} |
| 50 | https://{host}[:{port}]/{path} |
| 51 | }}} |
| 52 | where |
| 53 | `{host}`:: |
| 54 | address of the HTTP/HTTP service |
| 55 | `{port}`:: |
| 56 | optional port number of the HTTP/HTTPS service (80 by default for the HTTP service, 443 for the HTTPS service) |
| 57 | `{path}`:: |
| 58 | path to the file/directory |
| 59 | |
| 60 | Examples: |
| 61 | {{{ |
| 62 | https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.9.gz |
| 63 | }}} |
| 64 | |
| 65 | === iRods === |
| 66 | {{{ |
| 67 | irods://{user}:{pwd}@{host}[:{port}]/{zone}/{path} |
| 68 | }}} |
| 69 | where: |
| 70 | `{user}`:: |
| 71 | the name of the iRods user |
| 72 | `{pwd}`:: |
| 73 | user's password |
| 74 | `{host}`:: |
| 75 | address of the iRods service |
| 76 | `{port}`:: |
| 77 | optional the iRods service port number (1247 by default) |
| 78 | `{zone}`:: |
| 79 | the name of the zone |
| 80 | `{path}`:: |
| 81 | absolute path to the file/directory |
| 82 | |
| 83 | Examples: |
| 84 | {{{ |
| 85 | irods://pkopta:haslo@elder12/testZone/home/pkopta/plik.txt |
| 86 | }}} |