Article delegate-en/3991 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3990@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: HTTP Gateway to FTP server - Unable to Open Binary Files
29 May 2008 05:48:59 GMT "NGU,THANH" <pryhqbdyi-vhnmk2dvygtr.ml@ml.delegate.org>


Hi Sato-san,

It is working!  Thank you very much for your help.  Please let me know
if I can do anything to help in future.

The FTP server that I am using is from Oracle Content Services 10.1.2.
It is a content management application that provides access via FTP,
WebDAV, and HTTP protocol.

Best regards,
Thanh Ngu
-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Wednesday, May 28, 2008 8:42 PM
To: feedback@delegate.org
Cc: NGU,THANH
Subject: Re: [DeleGate-En] HTTP Gateway to FTP server - Unable to Open
Binary Files

Hi,

In message
<_A3989@delegate-en.ML_> on
05/28/08(16:51:33)
you "NGU,THANH" <pryhqbdyi-vhnmk2dvygtr.ml@ml.delegate.org> wrote:
 |05/28 00:43:28.89 [6004] 6+1: ## viaCFI [mkPASV]: fileno(ts)=23
ToSX=24
 |05/28 00:43:28.89 [6004] 6+1: connectTO: assume in non-blocking mode
 |05/28 00:43:29.22 [6004] 6+1: ftp_conndata: connected
 |10.10.94.6:3335->myhost/10.12.247.81:10195 [27](0.3)
 |     5  CWD /somedir/tool.ppt
 |     6  550 No such file or directory.
 |     6  CWD somedir
 |     7  250  Command successful.
 |     7  SIZE tool.ppt
 |     8  500 Command not supported: SIZE
 |     8  RETR tool.ppt
 |     9  150 Binary data connection for tool.ppt (106,496 bytes).
 |    10  226 File receive OK.
...
 |It seems like the FTP server does not support the SIZE command.
 |However, the FTP server does disply the right response size at this
line
 |"9  150 Binary data connection for tool.ppt (106,496 bytes)."

The specification of the FTP protocol does not specify the format
of the message text of 150 status response thus any string including
empty one is right.  Thus I added the SIZE command for confirmation
but SIZE is not included in the original FTP protocol.

The implementation of FTP/HTTPgateway of DeleGate has been used for
15 years but this is the first time for me to hear such format of 150
response, so I'm curious about what your FTP server is.

Anyway I coped with such format and uploaded DeleGate/9.8.2-pre36.
Executable files are at
ftp://ftp.delegate.org/pub/DeleGate/alpha/bin-latest9/
Please give it a try.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@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

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V