code: public FTPUploadRequest setCreatedDirectoriesPermissions(UnixPermissions permissions) {
          if (permissions == null)
              return this;
  
          ftpParams.createdDirectoriesPermissions = permissions.toString();
          return this;
      }
docs: Sets the UNIX permissions to set to newly created directories (if any). This may happen if
  you upload files to directories which does not exist on your FTP server. They will be
  automatically created. If <b>null</b> is set here or you never call this method,
  the default permissions for new folders set on your FTP server will be applied.
  @param permissions UNIX permissions to set to newly created directories
  @return {@link FTPUploadRequest}