<HTML ><HEAD ><TITLE >FTP functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="fdf_get_file" HREF="function.fdf-get-file.html"><LINK REL="NEXT" TITLE="ftp_connect" HREF="function.ftp-connect.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.fdf-get-file.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ftp-connect.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.ftp" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XVIII. FTP functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN9748" ></A ><P > FTP stands for File Transfer Protocol.</P ><P > The following constants are defined when using the FTP module: FTP_ASCII, and FTP_BINARY.</P ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.ftp-connect.html" >ftp_connect</A > — Opens up an FTP connection</DT ><DT ><A HREF="function.ftp-login.html" >ftp_login</A > — Logs in an FTP connection</DT ><DT ><A HREF="function.ftp-pwd.html" >ftp_pwd</A > — Returns the current directory name</DT ><DT ><A HREF="function.ftp-cdup.html" >ftp_cdup</A > — Changes to the parent directory</DT ><DT ><A HREF="function.ftp-chdir.html" >ftp_chdir</A > — Changes directories on a FTP server</DT ><DT ><A HREF="function.ftp-mkdir.html" >ftp_mkdir</A > — Creates a directory</DT ><DT ><A HREF="function.ftp-rmdir.html" >ftp_rmdir</A > — Removes a directory</DT ><DT ><A HREF="function.ftp-nlist.html" >ftp_nlist</A > — Returns a list of files in the given directory.</DT ><DT ><A HREF="function.ftp-rawlist.html" >ftp_rawlist</A > — Returns a detailed list of files in the given directory. </DT ><DT ><A HREF="function.ftp-systype.html" >ftp_systype</A > — Returns the system type identifier of the remote FTP server. </DT ><DT ><A HREF="function.ftp-pasv.html" >ftp_pasv</A > — Turns passive mode on or off.</DT ><DT ><A HREF="function.ftp-get.html" >ftp_get</A > — Downloads a file from the FTP server.</DT ><DT ><A HREF="function.ftp-fget.html" >ftp_fget</A > — Downloads a file from the FTP server and saves to an open file.</DT ><DT ><A HREF="function.ftp-put.html" >ftp_put</A > — Uploads a file to the FTP server.</DT ><DT ><A HREF="function.ftp-fput.html" >ftp_fput</A > — Uploads from an open file to the FTP server.</DT ><DT ><A HREF="function.ftp-size.html" >ftp_size</A > — Returns the size of the given file.</DT ><DT ><A HREF="function.ftp-mdtm.html" >ftp_mdtm</A > — Returns the last modified time of the given file.</DT ><DT ><A HREF="function.ftp-rename.html" >ftp_rename</A > — Renames a file on the ftp server.</DT ><DT ><A HREF="function.ftp-delete.html" >ftp_delete</A > — Deletes a file on the ftp server.</DT ><DT ><A HREF="function.ftp-site.html" >ftp_site</A > — Sends a SITE command to the server.</DT ><DT ><A HREF="function.ftp-quit.html" >ftp_quit</A > — Closes an FTP connection</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.fdf-get-file.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ftp-connect.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >fdf_get_file</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ftp_connect</TD ></TR ></TABLE ></DIV ></BODY ></HTML >