Class UploadRequest

Direct Known Subclasses:
PingUploadRequest

public class UploadRequest extends ServerCommand
Upload request; client-side.
  • Field Details

    • ENTITY_DIVIDER_FILENAME_CHECKSUM

      public static char ENTITY_DIVIDER_FILENAME_CHECKSUM
      Divider character for entity holding file name and check-sum.
  • Constructor Details

    • UploadRequest

      public UploadRequest(File file, String user, String domain) throws IOException
      File command to send before sending a file to server.
      Parameters:
      file - file
      user - user or null
      domain - domain or null (default)
      Throws:
      IOException - IO exception
  • Method Details

    • setFile

      public void setFile(File file) throws IOException
      Set file.
      Parameters:
      file - file
      Throws:
      IOException - IO exception
    • getFile

      public File getFile()
      Get file.
      Returns:
      file