1 package fr.in2p3.jsaga.adaptor.data;
2
3 import org.globus.ftp.Session;
4 import org.globus.ftp.exception.FTPException;
5 import org.globus.io.streams.FTPInputStream;
6
7 import java.io.IOException;
8
9
10
11
12
13
14
15
16
17
18
19
20
21 public class GsiftpInputStream extends FTPInputStream {
22 public GsiftpInputStream(GsiftpClient client, String file) throws IOException, FTPException {
23 super.ftp = client;
24 boolean passive = true;
25 super.get(passive, Session.TYPE_IMAGE, file);
26 }
27
28 }