void_set Posted November 1, 2014 Share Posted November 1, 2014 Is it possible to connect via php to ftp and download part of file (about 2MB from file) Quote Link to comment https://forums.phpfreaks.com/topic/292212-how-to-download-from-ftp-server-via-php-part-of-file/ Share on other sites More sharing options...
QuickOldCar Posted November 2, 2014 Share Posted November 2, 2014 ftp_get() or ftp_fget() depending what you want to do. Look at the 5th parameter which is resumepos Quote Link to comment https://forums.phpfreaks.com/topic/292212-how-to-download-from-ftp-server-via-php-part-of-file/#findComment-1495518 Share on other sites More sharing options...
void_set Posted November 4, 2014 Author Share Posted November 4, 2014 resumepos The position in the remote file to start downloading from. I do know that but i need to download from 500MB file only 1-2MB and resumepos is for position where to start from Quote Link to comment https://forums.phpfreaks.com/topic/292212-how-to-download-from-ftp-server-via-php-part-of-file/#findComment-1495654 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.