Hi Sato-san, Thank you for your response. Please see my reply below. <quote> As the log says, your data is truncated because the client (your browser) closed the TCP connection with DeleGate before it complete receiving the response data. So the problem seems why your browser did it. You can see the whole HTTP response from your DeleGate with a command like this: % delegated -Fdget http://your-delegate/your-file.ppt -h -o > xxx % more xxx HTTP/1.0 200 OK Date: Sun, 25 May 2008 06:05:15 GMT Server: ETL-DeleGate/9.8.2-pre36 (as a FTP/HTTP gateway) DeleGate-Ver: 9.8.2-pre36 (delay=1) MIME-Version: 1.0 Content-Type: application/vnd.ms-powerpoint Content-Length: 3249152 ...binary data of PPT... </quote> Thanh>> I am using all kind of browsers (e.g. IE 7, Firefox 2, Safari 3.1, and Opera) that have same problem. Here is my output of the command. C:\>win-dg.exe -Fdget http://localhost/tool.ppt -h -o > test.log http [av130483.avagotech.net:8080] /tool.ppt 00:20:50 1: /tool.ppt [403][text/html][1932] 1 GET / 1.218 seconds = 0.82 GET/second 1932 bytes (1.218/1.218/1.218) I see this in the test.log file. HTTP/1.0 200 OK Date: Wed, 28 May 2008 07:43:31 GMT Server: ETL-DeleGate/9.7.7-fix1 (as a FTP/HTTP gateway) DeleGate-Ver: 9.7.7-fix1 (delay=6) MIME-Version: 1.0 Content-Type: application/vnd.ms-powerpoint Content-Length: 106 The actual size of the file is 106496. It seems like it is getting only the first 3 digits. Thanks. Best regards, Thanh -----Original Message----- From: Yutaka Sato [mailto:pficabdyi-mxhgu46zah3w.ml@delegate.org] Sent: Saturday, May 24, 2008 11:21 PM To: pficabdyi-mxhgu46zah3w.ml@delegate.org Cc: NGU,THANH Subject: Re: [DeleGate-En] HTTP Gateway to FTP server - Unable to Open Binary Files Hi, In message <_A3982@delegate-en.ML_> on 05/24/08(02:17:27) you "NGU,THANH" <pryhqbdyi-mxhgu46zah3w.ml@delegate.org> wrote: |On my Delegate's HTTP gateway to FTP server, I am able to browse the |directories and open text files. However, I am unable to open the |binary files (e.g. Word, Powerpoint, etc) after I downloaded them using |the browser. I notice the downloaded binary file size is much smaller |than the actual size shown in the HTTP gateway page and FTP server. | |Here are some of the errors in the log. ... |05/22 14:33:39.19 [4684] 3+2/1: ## got SIGPIPE [1] in HTTP: Gatewaying |05/22 14:33:39.19 [4684] 3+2/1: FTP/HTTP DONE: GOT 30720 / 465 bytes ... |05/22 14:33:39.19 [4684] 3+2/1: HCKA:[1] closed -- p:premature client |EOF on gatewaying | |The actual size of the binary PowerPoint file is 465408 bytes, but the |content-length only shows 465 bytes. | |Does anyone have experience the same problem? Is there any solution or |work-around? As the log says, your data is truncated because the client (your browser) closed the TCP connection with DeleGate before it complete receiving the response data. So the problem seems why your browser did it. You can see the whole HTTP response from your DeleGate with a command like this: % delegated -Fdget http://your-delegate/your-file.ppt -h -o > xxx % more xxx HTTP/1.0 200 OK Date: Sun, 25 May 2008 06:05:15 GMT Server: ETL-DeleGate/9.8.2-pre36 (as a FTP/HTTP gateway) DeleGate-Ver: 9.8.2-pre36 (delay=1) MIME-Version: 1.0 Content-Type: application/vnd.ms-powerpoint Content-Length: 3249152 ...binary data of PPT... A possible problem is that your browser does not accept "application/vnd.ms-powerpoint". If it is the case, you can change it to "application/octet-stream" like this: FILETYPE=".ppt:I:PPT:binary:application/octet-stream" Cheers, Yutaka -- 9 9 Yutaka Sato <pfqcabdyi-mxhgu46zah3w.ml@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller