View Full Version : PHP and FTP ?
I need to use FTP in a project I am working on, but I don't know a thing about using FTP. What I need to know is:
How do I set it up if I am hosting the website myself?
What's my username/password (or how do I get one)?
Will it work for offline testing?
Anything else you think I should know before starting this adventure. . .
Don't worry about the PHP code for now, but I have a feeling I will need help with that later.
Thanks in advance,
Jas
thetestingsite
07-28-2007, 10:31 PM
How do I set it up if I am hosting the website myself?
You would need to install an FTP server on your hosting server. If you are running a Windows based system, I recommend Filezilla FTP Server (look it up in google, but I know it is free). If on linux or other OS, look into ProFTP or FreeFTPD (not sure or these sites either).
What's my username/password (or how do I get one)?
Once you set up the FTP server in the last step, you can set up your username, password, and home directory for that user.
Will it work for offline testing?
Usually, FTP is for transferring files from your local machine to a remote machine. You could probably run local tests, but not sure why you would really want to do so.
Anything else you think I should know before starting this adventure. . .
That's pretty much it. If you need help with setting up the server software, look at the documentation for that server. Other than that, enjoy.
Hope this helps.
vsftpd (http://vsftpd.beasts.org/) is fairly ubiquitous if you're looking to set up a server. However, I think you were saying you wanted to access one from PHP? In that case, the PHP FTP documentation (http://www.php.net/ftp) will help you.
THANK YOU!!!! IOU one!
-Jas
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.