HOME       >>       Programming

Ftp Using Php


triggerhappy

hello..anybody who knows how to use ftp in php? thanks.


jlhaslip

Are you needing a php script for file uploads?


triggerhappy

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. ...

xpress

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.

shadowx

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


triggerhappy

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...

xpress

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.

shadowx

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...?


dragonfang00

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..



VIEW ORIGINAL REGISTER GET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.