I’m really new in client-server and socket programming.
Is it possible to write client-server file transfer and upload large file (4GB+) using php socket programming?
Or should I use php ftp?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Though it should be possible to write both the client & server parts with sockets in PHP, I would almost certainly opt for PHP’s FTP extension, as most of the work handling files and building/tearing down connections is already done for you. http://www.php.net/manual/en/book.ftp.php