public SCPFileTransfer(SessionFactory sessionFactory) {
this.sessionFactory = sessionFactory;
}</BUG>
public SCPDownloadClient newSCPDownloadClient() {
<BUG>return new SCPDownloadClient(newSCPEngine());
</BUG>
}
public SCPUploadClient newSCPUploadClient() {
<BUG>return new SCPUploadClient(newSCPEngine());
</BUG>
}

public SCPFileTransfer(SessionFactory sessionFactory) {
this.sessionFactory = sessionFactory;
this.bandwidthLimit = DEFAULT_BANDWIDTH_LIMIT;
}
public SCPDownloadClient newSCPDownloadClient() {
return new SCPDownloadClient(newSCPEngine(), bandwidthLimit);
}
public SCPUploadClient newSCPUploadClient() {
return new SCPUploadClient(newSCPEngine(), bandwidthLimit);
}
