Article View: borland.public.cppbuilder.internet.socket
Article #579Re: TidFTPServer DataType = Ascii didn't work
From: David
Date: Tue, 29 Jan 2008 13:14
Date: Tue, 29 Jan 2008 13:14
34 lines
2252 bytes
2252 bytes
Thank you very much, i will try it... "Remy Lebeau (TeamB)" <no.spam@no.spam.com> schrieb im Newsbeitrag news:479e10db$3@newsgroups.borland.com... > > "David" <Bain99@web.de> wrote in message > news:479dd5b2$1@newsgroups.borland.com... > >> My Indy Version is 10.0.52. > > That is a very old version. > >> Can you give me some exaples how to setup the ascii - mode ? > > There are no examples. TIdFTPServer always operates in binary mode only, > as you have already noticed. > >> I've try to intercept the stream by the ConnectonIntercept component. >> I get the store file, list, etc. commands but no TCP/IP stream. > > That is because transfers are handled using separate connections. You are > hooking the main connection only, which does not perform any transers of > its own, and TIdFTPServer does not provide any hooks into the secondary > connections that are actually used for transfers. > >> How can i catch the File-Stream behind the FTP-Server ? > > You are responsible for providing the streams yourself to the server, via > the OnStoreFile and OnRetreiveFile events. You can use whatever stream > classes you want, even ones you write yourself. > > > Gambit >
Technical Details
Message-ID:
<479f2480$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47949f6e$1@newsgroups.borland.com> <47963a40@newsgroups.borland.com> <479dd5b2$1@newsgroups.borland.com> <479e10db$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,64bee1edc9034885 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "David" <Bain99@web.de> Newsgroups: borland.public.cppbuilder.internet.socket References: <47949f6e$1@newsgroups.borland.com> <47963a40@newsgroups.borland.com> <479dd5b2$1@newsgroups.borland.com> <479e10db$3@newsgroups.borland.com> Subject: Re: TidFTPServer DataType = Ascii didn't work Date: Tue, 29 Jan 2008 14:14:24 +0100 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 195.243.131.3 Message-ID: <479f2480$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201611904 195.243.131.3 (29 Jan 2008 05:05:04 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail