karthikeyan_coder Posted May 7, 2006 Share Posted May 7, 2006 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. Quote Link to comment Share on other sites More sharing options...
trq Posted May 7, 2006 Share Posted May 7, 2006 Have you tried viewing the manual entry for the [a href=\"http://php.net/ftp\" target=\"_blank\"]ftp[/a] functions? Quote Link to comment Share on other sites More sharing options...
Ferenc Posted May 7, 2006 Share Posted May 7, 2006 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.