client.setLocalActive();
//client.setPassiveMode(true);
client.setType(GridFTPSession.TYPE_IMAGE);
log.debug("Creating GridFTP Input Stream to: " + host + ":" + port + getName().getPath());
GSSCredential proxy = (GSSCredential) this.fileSystem.getAttribute(GridFtpFileSystem.CREDENTIAL);
return new GridFTPInputStream(proxy, host, port, getName().getPath());
/* // using inner class approach (as commented out below) caused probs.
InputStreamDataSink sink = new InputStreamDataSink();
//TransferState state = client.asynchGet(this.relPath, sink, null); // commented out
TransferState state = client.asynchGet(getName().getPath(), sink, null);