private void downloadFile(InvocationContext context, URI src, String localFile) throws SecurityException,
ToolsException {
GridFtp ftp = new GridFtp();
GSSCredential gssCred = ((GSISecurityContext) context.getSecurityContext(MYPROXY_SECURITY_CONTEXT))
.getGssCredentails();
ftp.downloadFile(src, gssCred, new File(localFile));
}
}