> i would suggest you to download the sample i've provided here 
> http://nauteus.com/FTPSample.zip.
> The code in this sample is precisely what doesn't seem to work...

forget about that sample... it'll work...

but the main thing is that in my main server app, when in RETR mode :
10      [2005/05/21 10:59:41.781] FTP ClientID=1 Client command : KeyWord=RETR 
- Params=IMAGES - Answer=
11      [2005/05/21 10:59:41.875] FTP ClientID=1 BuildFilePath : 
Directory=C:\TEMP\ - FileName=IMAGES - NewFileName=
12      [2005/05/21 10:59:41.921] FTP ClientID=1 ValidateGet : 
FilePath=C:\TEMP\IMAGES - Client.fileName=IMAGES
13      [2005/05/21 10:59:41.984] FTP ClientID=1 : BeginOfThread Thread 
($000009AC)Creation File [IMAGES]
14      [2005/05/21 10:59:42.046] FTP ClientID=1 Answer : 150 Opening data 
connection for IMAGES.
15      [2005/05/21 10:59:42.125] FTP ClientID=1 TID-$000009AC : FTP : InThread 
File to process : IMAGES
16      [2005/05/21 10:59:42.187] FTP ClientID=1 Retr Datasent
17      [2005/05/21 10:59:42.250] FTP ClientID=1 Retr Datasent
18      [2005/05/21 10:59:42.328] FTP ClientID=1 Answer : 226 File sent ok
19      [2005/05/21 10:59:42.390] FTP ClientID=1 RetrSessionClosed
[...]
30      [2005/05/21 11:00:34.546] FTP ClientID=1 TID-$000009AC : FTP : InThread 
File (IMAGES) process over!
31      [2005/05/21 11:00:34.640] FTP ClientID=1 TID-$000009AC : FTP : InThread 
Rewind Client.datastream !
32      [2005/05/21 11:00:34.718] FTP ClientID=1 : EndOfThread ($000009AC) File 
[IMAGES (size :8)]
33      [2005/05/21 11:00:34.781] FTP ClientID=1 RetrSessionConnected
34      [2005/05/21 11:00:34.875] FTP ClientID=1 Answer : 226 File sent ok
35      [2005/05/21 11:00:34.953] FTP ClientID=1 RetrSessionClosed

the lines 14 and 15 are good...
lines 16 and 17 seems to correspond to something that has not been asked for...

that's here that there's a trick, in my application... because it says that a 
RETR has been answered.
although nothing has been answered at all !
lines 18 and 19 are here to say that ! but i have no RetrSessionConnected 
triggered
but as the thread has finished, then i have what should be (lines 32 to 35) ; 
except that there's no
RetrDataSent event because the Client is Nil...

i don't know why i have that ! i've figured it out in a previous mail where i 
think i have found
one of the reason (wihtin the TFtpServer.ClientRetrDataSent procedure and to be 
more precise in
the TFtpServer.SendNextDataChunk procedure).
i don't know why, but in my application, something goes wrong and i can't see 
why it goes wrong as the used
code looks exactly like the one in the sample above...

still going deeper...

sorry to bother you with that guys...

i'll try to talk a bit less ;)

Guillaume MAISON
-----
Guillaume MAISON - [EMAIL PROTECTED]
83, Cours Victor Hugo
47000 AGEN
Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to