triggerhappy 0 Report post Posted October 28, 2008 hello..anybody who knows how to use ftp in php? thanks. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 28, 2008 Are you needing a php script for file uploads? Share this post Link to post Share on other sites
triggerhappy 0 Report post Posted October 28, 2008 Are you needing a php script for file uploads? my program will transfer data from one computer to another computer.I have no idea in using ftp under linux. ... Share this post Link to post Share on other sites
xpress 0 Report post Posted October 28, 2008 my program will transfer data from one computer to another computer.I have no idea in using ftp under linux. ... Do you mean, your PHP program will connect to another computer using FTP to transfer files? Or you just want to transfer your files to remote server using a FTP client in Linux?Because, FTP functions in PHP will work same on all platforms. They are platform independent.Please explain your problem or clearly, so that we can help. Share this post Link to post Share on other sites
shadowx 0 Report post Posted October 28, 2008 I too am unsure of what exactly you want, is it just that you want to be able to upload and download files with php?If so that is possible.If you just want to use FTP in linux then get a linux FTP client. There are plenty out there Share this post Link to post Share on other sites
triggerhappy 0 Report post Posted October 30, 2008 Do you mean, your PHP program will connect to another computer using FTP to transfer files? Or you just want to transfer your files to remote server using a FTP client in Linux?Because, FTP functions in PHP will work same on all platforms. They are platform independent.Please explain your problem or clearly, so that we can help. I just need to transfer files to another computer... Share this post Link to post Share on other sites
xpress 0 Report post Posted October 30, 2008 I just need to transfer files to another computer...So, you mean...you just want to transfer your files to another computer using FTP client software? If so there are many ftp clients available for Linux. Just google for it and get one, and if you don't know how to transfer files using a FTP client just post your question and we will explain you.Or, Do you want a PHP program(actually a PHP script) that can connects to FTP to transfer files to another computer? Actually I still didn't understand what you want.. Only thing I understood is you want to transfer your files to another computer...But I didn't understand what is the method you wanted to do so. Share this post Link to post Share on other sites
shadowx 0 Report post Posted November 1, 2008 I agree with xpress, i too am unsure of the method you want to use.If you wish to use PHP to interact with FTP i cant help you there, however you could set up a system where you use a PHP script on a website to upload the file to the internet, and then on the other computer download it from that site.If you want to use FTP you need two things, an ftp SERVER and an ftp CLIENT. You install the server on the remote computer (computer A try googling "mecury FTP server") You then need to install a client program (like filezilla) on the other computer. Computer B. Then you turn both on (or get someone else to turn the other one on) and connect them to the internet. Sitting at computer B you then upload a file to the server on computer A and the file is transferred across the internet to computer A.This however has several problems as you will need to enable port forwarding if behind a router, enable unrestricted access to computer A etc......Cant you just save the file to a disk and send it? or transfer the file over IM etc...? Share this post Link to post Share on other sites
dragonfang00 0 Report post Posted November 7, 2008 If you will transfer files you can just use IM or upload it on rapidshare like websites.. if you will transfer file on a friend's computer then I will tell you to just use a disk or something.. Share this post Link to post Share on other sites