中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
Introdução »
« EventException
Manual do PHP
Referência das Funções
Outros Serviços
FTP
Introdução
Instalação/Configuração
Dependências
Instalação
Configurações em Execução
Tipos de Recurso
Constantes pré-definidas
Exemplos
Uso básico
Funções da extensão FTP
ftp_alloc
— Allocates space for a file to be uploaded
ftp_append
— Append the contents of a file to another file on the FTP server
ftp_cdup
— Muda para o diretório acima
ftp_chdir
— Muda o diretório atual em um servidor FTP
ftp_chmod
— Define as permissões de um arquivo via FTP
ftp_close
— Fecha uma conexão FTP
ftp_connect
— Opens an FTP connection
ftp_delete
— Exclui um arquivo no servidor FTP
ftp_exec
— Solicita a execução de um comando no servidor FTP
ftp_fget
— Downloads a file from the FTP server and saves to an open file
ftp_fput
— Uploads from an open file to the FTP server
ftp_get_option
— Obtém várias opções em tempo de execução da conexão FTP atual
ftp_get
— Downloads a file from the FTP server
ftp_login
— Realiza o login em uma conexão FTP
ftp_mdtm
— Retorna o horário da última modificação do arquivo informado
ftp_mkdir
— Cria um diretório
ftp_mlsd
— Returns a list of files in the given directory
ftp_nb_continue
— Continua a receber/enviar um arquivo (sem bloquear)
ftp_nb_fget
— Retrieves a file from the FTP server and writes it to an open file (non-blocking)
ftp_nb_fput
— Stores a file from an open file to the FTP server (non-blocking)
ftp_nb_get
— Retrieves a file from the FTP server and writes it to a local file (non-blocking)
ftp_nb_put
— Stores a file on the FTP server (non-blocking)
ftp_nlist
— Retorna uma lista de arquivos em um diretório
ftp_pasv
— Liga ou desliga o modo passivo
ftp_put
— Uploads a file to the FTP server
ftp_pwd
— Retorna o nome do diretório atual
ftp_quit
— Sinônimo de ftp_close
ftp_raw
— Envia um comando arbritário a um servidor FTP
ftp_rawlist
— Returns a detailed list of files in the given directory
ftp_rename
— Renomeia um arquivo ou um diretório no servidor FTP
ftp_rmdir
— Remove um diretório
ftp_set_option
— Define opções diversas em tempo de execução
ftp_site
— Sends a SITE command to the server
ftp_size
— Retorna o tamanho do arquivo especificado
ftp_ssl_connect
— Opens a Secure SSL-FTP connection
ftp_systype
— Retorna o identificador de tipo de sistema do servidor FTP remoto
FTP\Connection
— The FTP\Connection class