Jump to content

Recommended Posts

Hello to all you gurus out there. I have a question. I have a file php file upload system and works all good. Currently I am using the http file upload move_uploaded_file() function. My question is are there any gains by changing it to ftp_put() ??? What are they and what are the benefits of changing if there is any?

Link to comment
https://forums.phpfreaks.com/topic/176804-solved-php-ftp-and-http-which/
Share on other sites

Hm... so far as I know the only difference is that FTP is for accessing other websites. There's no point if you're putting it on your own server. But say you want to take a file from server a to server b, and the script is on server a but not server b, you can't upload normally, you need FTP. But if you're going from a client to a server, there's no point

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.