Uses of Class
org.alfresco.ftp.FTPWrapper
Packages that use FTPWrapper
-
Uses of FTPWrapper in org.alfresco.ftp
Methods in org.alfresco.ftp that return FTPWrapperModifier and TypeMethodDescriptionFTPWrapper.appendContent(String content) Append content to fileFTPWrapper.authenticateUser(org.alfresco.utility.model.UserModel userModel) FTPWrapper.authenticateUser(org.alfresco.utility.model.UserModel userModel, int fileTransferMode) Authenticate user and set the file transfer mode (useFTP) codes: 10 - FTP.STREAM_TRANSFER_MODE, 11 - FTP.BLOCK_TRANSFER_MODE, 12 - FTP.COMPRESSED_TRANSFER_MODE)FTPWrapper.authenticateUser(org.alfresco.utility.model.UserModel userModel, String server, int port) FTPWrapper.changeWorkingDirectory(String newFolder) FTPWrapper.copyTo(org.alfresco.utility.model.ContentModel destination) FTPWrapper.createFile(org.alfresco.utility.model.FileModel fileModel) FTPWrapper.createFile(org.alfresco.utility.model.FileModel fileModel, int fileSize) FTPWrapper.createFolder(org.alfresco.utility.model.FolderModel folderModel) FTPWrapper.createOfficeFile(org.alfresco.utility.model.FileModel fileModel) Create Office file which will be used in Integration tests by AOSFTPWrapper.delete()FTPWrapper.disconnect()FTPWrapper.downloadFileTo(org.alfresco.utility.model.FolderModel destination) Download file locally, returning the new locationFTPWrapper.moveTo(org.alfresco.utility.model.ContentModel destination) FTPWrapper.uploadFile(File file) Upload file from disk via FTP protocolFTPWrapper.uploadFile(String pathToFile) Upload file from disk via FTP protocolFTPWrapper.usingResource(org.alfresco.utility.model.ContentModel model) FTPWrapper.usingRoot()FTPWrapper.usingSite(org.alfresco.utility.model.SiteModel siteModel) FTPWrapper.usingUserHome()FTPWrapper.usingUserHome(String username) -
Uses of FTPWrapper in org.alfresco.ftp.dsl
Methods in org.alfresco.ftp.dsl that return FTPWrapperModifier and TypeMethodDescriptionFTPAssertion.currentFolderIs(String folder) FTPAssertion.doesNotExistInFtp()FTPAssertion.existsInFtp()FTPAssertion.hasChildren(org.alfresco.utility.model.ContentModel... contentModel) Verify the children(files and folders) from a parent folderFTPAssertion.hasFiles(org.alfresco.utility.model.FileModel... fileModel) Verify if file children exist in parent folderFTPAssertion.hasFolders(org.alfresco.utility.model.FolderModel... folderModel) Verify if folder children exist in parent folderFTPAssertion.hasReplyCode(int replyCode) Verify the status for a specific FTP actionFTPAssertion.hasSize(int sizeInMb) Verify the size of a fileFTPAssertion.isDownloaded()Verify if file is downloaded in project root.FTPAssertion.userIsLoggedIn()FTPAssertion.userIsNotLoggedIn()Constructors in org.alfresco.ftp.dsl with parameters of type FTPWrapperModifierConstructorDescriptionFTPAssertion(FTPWrapper ftpProtocol) FTPUtil(FTPWrapper ftpWrapper) JmxUtil(FTPWrapper ftpProtocol, org.alfresco.utility.network.Jmx jmx)