Uses of Class
org.alfresco.ftp.FTPWrapper
-
Packages that use FTPWrapper Package Description org.alfresco.ftp org.alfresco.ftp.dsl -
-
Uses of FTPWrapper in org.alfresco.ftp
Methods in org.alfresco.ftp that return FTPWrapper Modifier and Type Method Description FTPWrapperFTPWrapper. appendContent(java.lang.String content)Append content to fileFTPWrapperFTPWrapper. authenticateUser(org.alfresco.utility.model.UserModel userModel)FTPWrapperFTPWrapper. 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)FTPWrapperFTPWrapper. authenticateUser(org.alfresco.utility.model.UserModel userModel, java.lang.String server, int port)FTPWrapperFTPWrapper. changeWorkingDirectory(java.lang.String newFolder)FTPWrapperFTPWrapper. copyTo(org.alfresco.utility.model.ContentModel destination)FTPWrapperFTPWrapper. createFile(org.alfresco.utility.model.FileModel fileModel)FTPWrapperFTPWrapper. createFile(org.alfresco.utility.model.FileModel fileModel, int fileSize)FTPWrapperFTPWrapper. createFolder(org.alfresco.utility.model.FolderModel folderModel)FTPWrapperFTPWrapper. createOfficeFile(org.alfresco.utility.model.FileModel fileModel)Create Office file which will be used in Integration tests by AOSFTPWrapperFTPWrapper. delete()FTPWrapperFTPWrapper. delete(java.lang.String path)FTPWrapperFTPWrapper. disconnect()FTPWrapperFTPWrapper. downloadFileTo(org.alfresco.utility.model.FolderModel destination)Download file locally, returning the new locationFTPWrapperFTPWrapper. moveTo(org.alfresco.utility.model.ContentModel destination)FTPWrapperFTPWrapper. rename(java.lang.String newName)FTPWrapperFTPWrapper. update(java.lang.String newContent)FTPWrapperFTPWrapper. uploadFile(java.io.File file)Upload file from disk via FTP protocolFTPWrapperFTPWrapper. uploadFile(java.lang.String pathToFile)Upload file from disk via FTP protocolFTPWrapperFTPWrapper. usingResource(org.alfresco.utility.model.ContentModel model)FTPWrapperFTPWrapper. usingRoot()FTPWrapperFTPWrapper. usingSite(java.lang.String siteId)FTPWrapperFTPWrapper. usingSite(org.alfresco.utility.model.SiteModel siteModel)FTPWrapperFTPWrapper. usingUserHome()FTPWrapperFTPWrapper. usingUserHome(java.lang.String username) -
Uses of FTPWrapper in org.alfresco.ftp.dsl
Methods in org.alfresco.ftp.dsl that return FTPWrapper Modifier and Type Method Description FTPWrapperFTPAssertion. contentIs(java.lang.String expectedContent)FTPWrapperFTPAssertion. currentFolderIs(java.lang.String folder)FTPWrapperFTPAssertion. doesNotExistInFtp()FTPWrapperFTPAssertion. existsInFtp()FTPWrapperFTPAssertion. hasChildren(org.alfresco.utility.model.ContentModel... contentModel)Verify the children(files and folders) from a parent folderFTPWrapperFTPAssertion. hasFiles(org.alfresco.utility.model.FileModel... fileModel)Verify if file children exist in parent folderFTPWrapperFTPAssertion. hasFolders(org.alfresco.utility.model.FolderModel... folderModel)Verify if folder children exist in parent folderFTPWrapperFTPAssertion. hasReplyCode(int replyCode)Verify the status for a specific FTP actionFTPWrapperFTPAssertion. hasSize(int sizeInMb)Verify the size of a fileFTPWrapperFTPAssertion. isDownloaded()Verify if file is downloaded in project root.FTPWrapperFTPAssertion. userIsLoggedIn()FTPWrapperFTPAssertion. userIsNotLoggedIn()Constructors in org.alfresco.ftp.dsl with parameters of type FTPWrapper Constructor Description FTPAssertion(FTPWrapper ftpProtocol)FTPUtil(FTPWrapper ftpWrapper)JmxUtil(FTPWrapper ftpProtocol, org.alfresco.utility.network.Jmx jmx)
-