Jump to content

Archived

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

karthikeyan_coder

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

Recommended Posts

hi,
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.

Share this post


Link to post
Share on other sites
Have you tried viewing the manual entry for the [a href=\"http://php.net/ftp\" target=\"_blank\"]ftp[/a] functions?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

×

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.