The jglobus libraries provide a Java programming interface to GridFTP, and FTP services. The API is focused on supporting creating client side applications. More information can be found in the javadoc for the package: org.globus.ftp;
A command line client is included with this distribution that allows users to perform two party and third party transfers with GridFTP servers. To use this client you must setup your jglobus environment, have a valid proxy, and then run the client:
% source setenv.sh % java org.globus.tools.proxy.GridProxyInit ... follow instructions in GUI % java org.globus.tools.GlobusUrlCopy -help
Running the test for GridFTP in the jglobus package is a simple matter of running ant tests at a command prompt. However, setting up the test environment can take some doing. A file located at: ./src/org/globus/ftp/test/test.properties contains a list of the needed setting to run the tests.
However, even that can be complicated. If you wish to setup a very basic test environment on a single machine the utility: etc/jglobus-ftp-test-setup.pl can help.
% etc/jglobus-ftp-test-setup.plYou will need a valid proxy and have ssh access to the target host. Once the script completes simply run a gridftp server on the provided port and copy the output to the ftp test.properties file.