ftp_cdup PHP 3.0.13

bool ftp_cdup(resource stream)

 

親ディレクトリに移動します。

ftp_chdir PHP 3.0.13

bool ftp_chdir(resource stream, string directory)

 

ディレクトリを変更します。

ftp_close PHP 4.1.0

void ftp_close(resource stream)

 

FTP ストリームを閉じます。

ftp_connect PHP 3.0.13

resource ftp_connect(string host[, int port[, int timeout)]])

 

FTP ストリームを開きます。

ftp_delete PHP 3.0.13

bool ftp_delete(resource stream, string file)

 

ファイルを削除します。

ftp_exec PHP 4.0.3

bool ftp_exec(resource stream, string command)

 

FTP サーバー上でのプログラムの実行を要求します。

ftp_fget PHP 3.0.13

bool ftp_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])

 

FTP サーバーからファイルを取り出して、それをオープンファイルに書き込みます。

ftp_fput PHP 3.0.13

bool ftp_fput(resource stream, string remote_file, resource fp, int mode[, int startpos])

 

オープンファイルのファイルを FTP サーバーに保存します。

ftp_get_option PHP 4.1.0

mixed ftp_get_option(resource stream, int option)

 

FTP オプションを取得します。

ftp_get PHP 3.0.13

bool ftp_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos])

 

FTP サーバーからファイルを取り出して、それをローカルファイルに書き込みます。

ftp_login PHP 3.0.13

bool ftp_login(resource stream, string username, string password)

 

FTP サーバーにログインします。

ftp_mdtm PHP 3.0.13

int ftp_mdtm(resource stream, string filename)

 

ファイルが最後に修正された時間または -1 (エラーの場合) を返します。

ftp_mkdir PHP 3.0.13

string ftp_mkdir(resource stream, string directory)

 

ディレクトリを作成して新しいディレクトリの絶対パスを返すか、または false (エラーの場合) を返します。

ftp_nlist PHP 3.0.13

array ftp_nlist(resource stream, string directory)

 

指定したディレクトリのファイル名を配列として返します。

ftp_pasv PHP 3.0.13

bool ftp_pasv(resource stream, bool pasv)

 

パッシブモードをオンまたはオフにします。

ftp_put PHP 3.0.13

bool ftp_put(resource stream, string remote_file, string local_file, int mode[, int startpos])

 

FTP サーバーにファイルを保存します。

ftp_pwd PHP 3.0.13

string ftp_pwd(resource stream)

 

現在のワーキングディレクトリを返します。

ftp_rawlist PHP 3.0.13

array ftp_rawlist(resource stream, string directory[, bool recursive])

 

ディレクトリの詳細なリストを、出力行の配列として返します。

ftp_rename PHP 3.0.13

bool ftp_rename(resource stream, string src, string dest)

 

指定したファイルの名前を新しいパスに変更します。

ftp_rmdir PHP 3.0.13

bool ftp_rmdir(resource stream, string directory)

 

ディレクトリを削除します。

ftp_set_option PHP 4.1.0

bool ftp_set_option(resource stream, int option, mixed value)

 

FTP オプションを設定します。

ftp_site PHP 3.0.15

bool ftp_site(resource stream, string cmd)

 

サーバーに site コマンドを送信します。

ftp_size PHP 3.0.13

int ftp_size(resource stream, string filename)

 

ファイルサイズまたは -1 (エラーの場合) を返します。

ftp_systype PHP 3.0.13

string ftp_systype(resource stream)

 

システムタイプ識別子を返します。