ftp_cdup

(PHP 4, PHP 5, PHP 7) Changes to the parent directory bool ftp_cdup ( resource $ftp_stream ) Changes to the parent directory. Parameters: ftp_stream The link identifier of the FTP connection. Returns: Returns TRUE on success or FALSE on failure. Examples: ftp_cdup() example

ftp_alloc

(PHP 5, PHP 7) Allocates space for a file to be uploaded bool ftp_alloc ( resource $ftp_stream, int $filesize [, string &$result ] ) Sends an ALLO command to the remote FTP server to allocate space for a file to be uploaded. Note: Many FTP servers do not support this command. These servers may return a failure code (FALSE) indicating the command is not supported or a success code (TRUE) to indicate that pre-allocatio

fam_suspend_monitor

(PHP 5 <= 5.0.5) Temporarily suspend monitoring bool fam_suspend_monitor ( resource $fam, resource $fam_monitor ) fam_suspend_monitor() temporarily suspend monitoring of a resource. Monitoring can later be continued using fam_resume_monitor() without the need of requesting a complete new monitor. Parameters: fam A resource representing a connection to the FAM service

fam_resume_monitor

(PHP 5 <= 5.0.5) Resume suspended monitoring bool fam_resume_monitor ( resource $fam, resource $fam_monitor ) Resumes monitoring of a resource previously suspended using fam_suspend_monitor(). Parameters: fam A resource representing a connection to the FAM service returned by fam_open() fam_monitor A resource returned by one of the f

fam_pending

(PHP 5 <= 5.0.5) Check for pending FAM events int fam_pending ( resource $fam ) Checks for pending FAM events. Parameters: fam A resource representing a connection to the FAM service returned by fam_open() Returns: Returns non-zero if events are available to be fetched using fam_next_event(), zero otherwise.

fam_open

(PHP 5 <= 5.0.5) Open connection to FAM daemon resource fam_open ([ string $appname ] ) Opens a connection to the FAM service daemon. Parameters: appname A string identifying the application for logging reasons Returns: Returns a resource representing a connection to the FAM service on success or FALSE on errors.

fam_next_event

(PHP 5 <= 5.0.5) Get next pending FAM event array fam_next_event ( resource $fam ) Returns the next pending FAM event. The function will block until an event is available which can be checked for using fam_pending(). Parameters: fam A resource representing a connection to the FAM service returned by fam_open() Returns: Returns an array that

fam_monitor_file

(PHP 5 <= 5.0.5) Monitor a regular file for changes resource fam_monitor_file ( resource $fam, string $filename ) Requests monitoring for a single file. A FAM event will be generated whenever the file status changes (i.e. the result of function stat() on that file). The possible event codes are described in detail in the constants part of this section. Parameters: fam

fam_monitor_directory

(PHP 5 <= 5.0.5) Monitor a directory for changes resource fam_monitor_directory ( resource $fam, string $dirname ) Requests monitoring for a directory and all contained files. A FAM event will be generated whenever the status of the directory (i.e. the result of function stat() on that directory) or its content (i.e. the results of readdir()) changes. The possible event codes are described in detail in the constants p

fam_monitor_collection

(PHP 5 <= 5.0.5) Monitor a collection of files in a directory for changes resource fam_monitor_collection ( resource $fam, string $dirname, int $depth, string $mask ) Requests monitoring for a collection of files within a directory. A FAM event will be generated whenever the status of the files change. The possible event codes are described in detail in the constants part of this section. Parameters: