code: public void get(String remoteFileName,
                      File localFile)
          throws IOException,
                 ClientException,
                 ServerException {
          if (gSession.transferMode == GridFTPSession.MODE_EBLOCK) {
              DataSink sink =
                  new FileRandomIO(new RandomAccessFile(localFile, "rw"));
              get(remoteFileName, sink, null);
          } else {
              super.get(remoteFileName, localFile);
          }
      }
docs: basic compatibility API