code: public static FtpMessage put(String localPath, String remotePath, DataType type) {
          PutCommand cmd = new PutCommand();
          cmd.setSignal(FTPCmd.STOR.getCommand());
  
          PutCommand.File file = new PutCommand.File();
          file.setPath(localPath);
          file.setType(type.name());
          cmd.setFile(file);
  
          PutCommand.Target target = new PutCommand.Target();
          target.setPath(remotePath);
          cmd.setTarget(target);
          return new FtpMessage(cmd);
      }
docs: Creates new put command message.
  @param localPath
  @param remotePath
  @param type
  @return