Interface FileTransfer

    • Method Detail

      • upload

        void upload​(java.lang.String localPath,
                    java.lang.String remotePath)
             throws java.io.IOException
        This is meant to delegate to upload(LocalSourceFile, String) with the localPath wrapped as e.g. a FileSystemFile.
        Parameters:
        localPath -
        remotePath -
        Throws:
        java.io.IOException
      • upload

        void upload​(java.lang.String localPath,
                    java.lang.String remotePath,
                    long byteOffset)
             throws java.io.IOException
        This is meant to delegate to upload(LocalSourceFile, String) with the localPath wrapped as e.g. a FileSystemFile. Appends to existing if byteOffset > 0.
        Parameters:
        localPath -
        remotePath -
        byteOffset -
        Throws:
        java.io.IOException
      • download

        void download​(java.lang.String remotePath,
                      java.lang.String localPath)
               throws java.io.IOException
        This is meant to delegate to download(String, LocalDestFile) with the localPath wrapped as e.g. a FileSystemFile.
        Parameters:
        localPath -
        remotePath -
        Throws:
        java.io.IOException
      • download

        void download​(java.lang.String remotePath,
                      java.lang.String localPath,
                      long byteOffset)
               throws java.io.IOException
        This is meant to delegate to download(String, LocalDestFile) with the localPath wrapped as e.g. a FileSystemFile. Appends to existing if byteOffset > 0.
        Parameters:
        localPath -
        remotePath -
        byteOffset -
        Throws:
        java.io.IOException
      • upload

        void upload​(LocalSourceFile localFile,
                    java.lang.String remotePath)
             throws java.io.IOException
        Upload localFile to remotePath.
        Parameters:
        localFile -
        remotePath -
        Throws:
        java.io.IOException
      • upload

        void upload​(LocalSourceFile localFile,
                    java.lang.String remotePath,
                    long byteOffset)
             throws java.io.IOException
        Upload localFile to remotePath. Appends to existing if byteOffset > 0.
        Parameters:
        localFile -
        remotePath -
        byteOffset -
        Throws:
        java.io.IOException
      • download

        void download​(java.lang.String remotePath,
                      LocalDestFile localFile)
               throws java.io.IOException
        Download remotePath to localFile.
        Parameters:
        localFile -
        remotePath -
        Throws:
        java.io.IOException
      • download

        void download​(java.lang.String remotePath,
                      LocalDestFile localFile,
                      long byteOffset)
               throws java.io.IOException
        Download remotePath to localFile. Appends to existing if byteOffset > 0.
        Parameters:
        localFile -
        remotePath -
        byteOffset -
        Throws:
        java.io.IOException