code: public static FtpMessage put(String localPath, DataType type) {
          return put(localPath, FileUtils.getFileResource(localPath).getFilename(), type);
      }
docs: Creates new put command message.
  @param localPath
  @param type
  @return