ftp
ftp
Using Phing To Deploy To FTP
Sun, 01/31/2010 - 15:58 | by philipnorton42Although most developers might not like it FTP is quite a common way of deploying the files for a site to the server. To simplify this process Phing comes with a handy FTP transfer action called ftpdeploy.
In order to use the ftpdeploy we first need to install the Net_FTP package. To install this package just enter the following command:
pear install Net_FTP
The first thing we need to create is a build.properties file to store our ftp details
Connect To FTP Server Using PHP
Thu, 09/11/2008 - 09:33 | by philipnorton42FTP connection functions have been built into PHP since version 4 and make transferring files through FTP very easy.
The main function involved is called ftp_connect() which takes a FTP host as a parameter and attempts to connect to it. The port and a timeout limit can also be added to the function if needed.