A download adapter using URL fopen() wrappers
- FOFDownloadAdapterAbstract implements FOFDownloadInterface
- FOFDownloadAdapterFopen implements FOFDownloadInterface
Copyright: Copyright (C) 2010 - 2015 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at Libraries/fof/download/adapter/fopen.php
Download a part (or the whole) of a remote URL and return the downloaded data. You are supposed to check the size of the returned data. If it's smaller than what you expected you've reached end of file. If it's empty you have tried reading past EOF. If it's larger than what you expected the server doesn't support chunk downloads.