gov.nasa.pds.report.logs.pushpull
Class FtpPull
java.lang.Object
gov.nasa.pds.report.logs.pushpull.FtpPull
- All Implemented Interfaces:
- PDSPull
public class FtpPull
- extends Object
- implements PDSPull
Field Summary |
protected org.apache.commons.net.ftp.FTPClient |
client
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected org.apache.commons.net.ftp.FTPClient client
FtpPull
public FtpPull()
connect
public boolean connect(String hostname,
String username,
String password,
boolean encrypted)
throws PushPullException
- Specified by:
connect
in interface PDSPull
- Throws:
PushPullException
pull
public final void pull(String path,
String destination)
throws PushPullException
- Specified by:
pull
in interface PDSPull
- Throws:
PushPullException
disconnect
public void disconnect()
throws PushPullException
- Specified by:
disconnect
in interface PDSPull
- Throws:
PushPullException
Copyright © 2010–2015 Planetary Data System. All rights reserved.