|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-05-03 23:33 UTC] yohgaki@php.net
  [2002-05-08 03:48 UTC] yohgaki@php.net
  [2003-01-18 15:09 UTC] philip@php.net
  [2004-07-26 16:30 UTC] vrana@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 06:00:01 2025 UTC | 
There seems to be a timeout problems with using fpassthru. Code : header( "Content-type: application/octet-stream" ); header( "Content-Length: $c_ByteSize" ); header( "Content-Disposition: attachment; filename=\"$F\"" ); $fp = fopen("D:\\CarrierFTP_Files\\".odbc_result($result, "FilePath").$F,"r") or die("Can't find file."); fpassthru($fp); When the person starts getting the file, after 5 min 2 sec it quits and tells me it has finished. I have increased timeouts everywhere, but it never gets the file. Suggestions on this?