我想部分下载一个 ftp 文件。我只需要下载让我们说 10MB,但在跳过 100MB 之后(例如)。
在php中,http ://php.net/manual/en/function.ftp-fget.php这个函数允许arbitay起点:
bool ftp_fget ( resource $ftp_stream , resource $handle , string $remote_file , int $mode [, int $resumepos = 0 ] )
但是它不允许我设置我要下载的“多少字节”。