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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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