Pike v8.1 release 6

Method Protocols.OBEX.Client()->do_setpath()


Method do_setpath

array(int|Headers) do_setpath(string path, int|void flags, Headers|void extra_headers)

Description

Perform a REQ_SETPATH request.

Parameter path

The directory to set as current working directory

"/"

Go to the root directory

".."

Go to the parent directory

Parameter flags

Logical or of zero or more of SETPATH_BACKUP and SETPATH_NOCREATE

Parameter extra_headers

Any additional request headers (the HI_NAME header is generated by this function)

See also

do_request()