Jump to content


uploading a file (100s of MB) to another server

  • Please log in to reply
2 replies to this topic

#1 karthikeyan_coder

  • Members
  • PipPipPip
  • Advanced Member
  • 201 posts

Posted 07 May 2006 - 06:33 PM

i want to upload files to a remote server. how can i do it? move_uploaded_file() will allow it? or i want to make a FTP connection first? if yes then please tell me how to make a FTP connection.


#2 trq

  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 07 May 2006 - 10:27 PM

Have you tried viewing the manual entry for the [a href=\"http://php.net/ftp\" target=\"_blank\"]ftp[/a] functions?

#3 Ferenc

  • Members
  • PipPipPip
  • Advanced Member
  • 94 posts

Posted 07 May 2006 - 10:54 PM

First (the easiest way) you need to have ftp access, then download a ftp client (ws_ftp)

php's ftp functions will also work. With some proper coding anything is possible.

or you can build a form and upload files via _POST (this is limited by the php.ini settings) see handling file uploads in the php manual.

move_uploaded_file() will handle whatever you throw at it, provided the file makes it to the server!
Everything you want to know is here.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users