Package br.com.davinti.vitruvio.spi
Interface SFTPService
- All Known Implementing Classes:
SFTPServiceImpl
public interface SFTPService
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptioncreateSftpChannel(String host, int port, String user, String password) downloadFileViaSFTP(SFTPService.SFTPChannel sftp, String remoteFilePath) downloadFileViaSFTP(String host, int port, String user, String password, String remoteFilePath) uploadFileViaSFTP(SFTPService.SFTPChannel sftp, String localFilePath, String remoteDir) uploadFileViaSFTP(SFTPService.SFTPChannel sftp, String localFilePath, String remoteDir, String remoteFileName) uploadFileViaSFTP(String host, int port, String user, String password, String localFilePath, String remoteDir) uploadFileViaSFTP(String host, int port, String user, String password, String localFilePath, String remoteDir, String remoteFileName)
-
Method Details
-
downloadFileViaSFTP
-
downloadFileViaSFTP
SFTPService.SFTPResult downloadFileViaSFTP(String host, int port, String user, String password, String remoteFilePath) -
uploadFileViaSFTP
SFTPService.SFTPResult uploadFileViaSFTP(SFTPService.SFTPChannel sftp, String localFilePath, String remoteDir) -
uploadFileViaSFTP
SFTPService.SFTPResult uploadFileViaSFTP(SFTPService.SFTPChannel sftp, String localFilePath, String remoteDir, String remoteFileName) -
uploadFileViaSFTP
-
uploadFileViaSFTP
-
createSftpChannel
-