Package cronapi.ftp

Class Operations


  • public class Operations
    extends Object
    Classe que representa ...
    Since:
    2017-04-17
    Version:
    1.0
    Author:
    Usuário de Teste
    • Constructor Detail

      • Operations

        public Operations()
    • Method Detail

      • closeFTPConnection

        public static final void closeFTPConnection​(Var ftpConnectionVar)
                                             throws Exception
        Throws:
        Exception
      • setPassiveModeFTP

        public static final void setPassiveModeFTP​(Var ftpConnectionVar)
                                            throws Exception
        Throws:
        Exception
      • sendFTPCommand

        public static final void sendFTPCommand​(Var ftpConnectionVar,
                                                Var commandFtp)
                                         throws Exception
        Throws:
        Exception
      • getCurrentWorkingDirectoryFTP

        public static final Var getCurrentWorkingDirectoryFTP​(Var ftpConnectionVar)
                                                       throws Exception
        Throws:
        Exception
      • listFTPFilesFromFolder

        public static final Var listFTPFilesFromFolder​(Var ftpConnectionVar,
                                                       Var folder,
                                                       Var withDetail)
                                                throws Exception
        Throws:
        Exception
      • changeFTPFolder

        public static final void changeFTPFolder​(Var ftpConnectionVar,
                                                 Var folder)
                                          throws Exception
        Throws:
        Exception
      • changeToParentFTPFolder

        public static final void changeToParentFTPFolder​(Var ftpConnectionVar)
                                                  throws Exception
        Throws:
        Exception
      • deleteFTPFolder

        public static final void deleteFTPFolder​(Var ftpConnectionVar,
                                                 Var folder)
                                          throws Exception
        Throws:
        Exception
      • deleteFTPFile

        public static final void deleteFTPFile​(Var ftpConnectionVar,
                                               Var file)
                                        throws Exception
        Throws:
        Exception
      • createNewFTPFolder

        public static final void createNewFTPFolder​(Var ftpConnectionVar,
                                                    Var folder)
                                             throws Exception
        Throws:
        Exception
      • uploadFileToFTP

        public static final void uploadFileToFTP​(Var ftpConnectionVar,
                                                 Var pathFile,
                                                 Var ftpFolder,
                                                 Var isBinaryFile)
                                          throws Exception
        Throws:
        Exception
      • downloadFileFromFTP

        public static final void downloadFileFromFTP​(Var ftpConnectionVar,
                                                     Var saveFileInPath,
                                                     Var fileToDownloadFTPPath,
                                                     Var isBinaryFile)
                                              throws Exception
        Throws:
        Exception