code: public void chown(String uid, String path) throws SftpStatusException,
  			SshException {
  		String actual = resolveRemotePath(path);
  
  		SftpFileAttributes attrs = sftp.getAttributes(actual);
  		attrs.setUID(uid);
  		sftp.setAttributes(actual, attrs);
  
  	}
docs: <p>
  Sets the user ID to owner for the file or directory.
  </p>
  
  @param uid
  numeric user id of the new owner
  @param path
  the path to the remote file/directory
  
  @throws SftpStatusException
  @throws SshException
  @throws TransferCancelledException