At IU, using Linux or Unix, how do I use FTP to transfer files to and from the SDA?
Getting a Kerberized FTP client
To use FTP to access Indiana University's Scholarly Data Archive (SDA), you must use a Kerberized FTP client. Standard FTP clients are not Kerberos friendly.
The Research Storage group is not currently aware of a Kerberized FTP client for Windows. Although Kftp, Ktelnet, Kermit/K95, and FileZilla claim to be able to use Kerberos authentication, they do not work with SDA. For more, see At IU, how do I access the SDA?
Many Linux and Unix systems have Kerberized FTP clients installed by default. You can also download and install the MIT Kerberos distribution, which includes this client. Depending on your system, it may be installed in different locations, for example:
-
/usr/kerberos/bin/ftpon Red Hat and derivatives (from the krb5-workstation package)
-
/usr/bin/krb5-ftpon Debian and derivatives, such as Ubuntu (from the krb5-clients package)
-
/usr/bin/kftpon Gentoo (from the mit-krb5 ebuild)
-
/usr/lib/heimdal/bin/ftpon SuSE 9 (from the Heimdal package)
-
/usr/lib/mit/bin/ftpon SuSE 10 (from the krb5-apps-clients package)
Another FTP client that works on many Unix systems is the standard
HPSS FTP client, pftp_client. You can obtain this from
the PFTP page.
Connecting to the SDA
If a standard Kerberized FTP client is available:
- Run the
kinitcommand to authenticate. Use the syntax shown below, replacingusernamewith your IU Network ID username: kinit username@ADS.IU.EDU - Connect with FTP: /usr/kerberos/bin/ftp ftp.sdarchive.iu.edu
- When prompted for your username, press
Enter. This should take you to an FTP prompt, where you can begin transferring files.Note: To avoid the username prompt altogether, use the
machine ftp.sdarchive.iu.edu username passphrase.netrcfile in your home directory. For example, the following line in your~/.netrcwill bypass the prompt (replaceusernameandpassphrasewith your IU Network ID):
Site-specific commands
Other than the standard FTP commands, several site-specific commands are supported by the SDA FTP servers. These include:
site help cmd |
Give help on site-specific
command cmd, or list site-specific commands if
cmd is blank
|
site setcos N |
Set the class of service to N. For details, see On IU HPSS, what are classes of service, and how do I use them? |
site symlink x y |
Create a symbolic link named
y that refers to x
|
site wait N |
Display or set the time to wait while opening a file on tape before giving up |
site stage file |
Retrieve a file from tape into the disk cache without transferring a file |
site acl |
Supported only by
pftp_client; see At IU, how do I share my SDA data with other users?
|
Last modified on October 12, 2011.







