!
|
Escape to the shell
|
Use PHP's program execution functions
|
$
|
Execute macro
| |
?
|
Alias for HELP
| |
ACCOUNT
|
Send account information to remote server
| |
APPEND
|
Append to a file
| |
ASCII
|
Set the transfer type to ASCII
|
Set on a per-call basis with calls to ftp_fget(), ftp_fput(), ftp_get(), and ftp_put()
|
BELL
|
Toggle bell mode on or off
| |
BINARY
|
Set the transfer type to binary
|
Set on a per-call basis with calls to ftp_fget(), ftp_fput(), ftp_get(), and ftp_put()
|
BYE
|
Alias for QUIT
| |
CASE
|
Toggle case conversion on or off
|
Use str2lower() in conjunction with the FTP functions to force filenames to lowercase
|
CD
|
Change remote working directory
|
ftp_chdir()
|
CDUP
|
Change remote working directory to be the parent of the current working directory
|
ftp_cdup()
|
CHMOD
|
Change the permissions of a remote file
| |
CLOSE
|
Terminate the FTP session
|
ftp_quit()
|
CR
|
Toggle carriage return (\r) stripping on or off for ASCII gets
| |
DEBUG
|
Toggle debugging on or off
| |
DELETE
|
Delete remote file
|
ftp_delete()
|
DIR
|
Alias for LS
| |
DISCONNECT
|
Terminate the FTP session
|
ftp_quit()
|
FORM
|
Set file transfer format on a per-call basis
| |
GET
|
Get a remote file
|
ftp_fget(), ftp_get()
|
GLOB
|
Toggle file globbing on/off
| |
HASH
|
Enable or disable the display a hash mark (#) for every file transferred
| |
HELP
|
Print local help information
| |
IDLE
|
Get or Set remote idle timeout
| |
IMAGE
|
Alias for BINARY
| |
LCD
|
Change local working directory
|
chdir()
|
LS
|
List contents of remote directory
|
ftp_rawlist()
|
MACDEF
|
Define a macro
| |
MDELETE
|
Delete multiple remote files
|
|
MDIR
|
Alias for MLS
| |
MGET
|
Get multiple remote files
| |
MKDIR
|
Create directory on remote system
|
ftp_mkdir()
|
MLS
|
List contents of multiple remote directories
| |
MODE
|
Set file transfer mode
| |
MODTIME
|
Show last modification time of remote file
|
ftp_mdtm()
|
MPUT
|
Send multiple files to remote system
| |
NEWER
|
Get file if remote file is newer than local file
| |
NLIST
|
Get a terse list of files in a remote directory
|
ftp_nlist()
|
NMAP
|
Set templates for default file name mapping
| |
NTRANS
|
Set translation table for default file name mapping
| |
OPEN
|
Open connection to FTP server
|
ftp_connect()
|
PASSIVE
|
Toggle passive mode transfers on or off
|
ftp_pasv()
|
PROMPT
|
Toggle interactive mode on or off
| |
PROXY
|
Execute FTP command on secondary FTP connection
| |
PUT
|
Send local file to remote system
|
ftp_fput(), ftp_put()
|
PWD
|
Display remote current working directory
|
ftp_pwd()
|
QUIT
|
Close connection to FTP server and exit FTP client
|
ftp_quit()
|
QUOTE
|
Send arbitrary command to remote server
| |
RECV
|
Alias for GET
| |
REGET
|
Resume transfer of a file after network error
| |
RENAME
|
Rename (or move) remote file
|
ftp_rename()
|
RESET
|
Re-synch command/reply sequence with remote server
| |
RESTART
|
Restart the following get or put command at the marker specified
| |
RHELP
|
Get remote help
| |
RMDIR
|
Remove remote directory
|
ftp_rmdir()
|
RSTATUS
|
Show the status of the remote machine or a remote file
| |
RUNIQUE
|
Toggle local unique file naming on or off
| |
SEND
|
Alias for PUT
| |
SENDPORT
|
Toggle use of PORT commands on or off
| |
SITE
|
Send a SITE command to the remote server
|
ftp_site()
|
SIZE
|
Show size of remote file
|
ftp_size()
|
STATUS
|
Show current status information
| |
STRUCT
|
Set file transfer structure type
| |
SUNIQUE
|
Toggle store unique on or off on remote machine
| |
SYSTEM
|
Show remote system type
|
ftp_systype()
|
TENEX
|
Set the transfer type to TENEX, practically obsolete
| |
TRACE
|
Toggle packet tracing on or off
| |
TYPE
|
Set file transfer type
|
Set on a per-call basis with calls to ftp_fget(), ftp_fput(), ftp_get(), and ftp_put()
|
UMASK
|
Set default umask on the remote server
| |
USER
|
Send user name and password to the remote system
|
ftp_login()
|
VERBOSE
|
Toggle verbose mode on or off
| |