Jump to content

Creating FTP in PHP


ultraloveninja

Recommended Posts

Hello-

I was wondering if anyone had any resources, guides, etc. about how to use PHP to upload files to a FTP account.  The FTP account is already created on a server and i just want to use a web based form to upload files to that FTP account.

If any one has any information about this, it will be greatly appreciated.

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/96552-creating-ftp-in-php/
Share on other sites

Since PHP is a server side script, You would actually be using the server the php script is on to make the connection to the ftp server. So if the FTP server is another box somewhere out there you would be going from your box to the php web server to the ftp server. Not very efficient. Now if the FTP is located on the same box as the web server then you could just use file functions to move files around and view files in the users folder.

 

Ray

Link to comment
https://forums.phpfreaks.com/topic/96552-creating-ftp-in-php/#findComment-494099
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.