BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 10 file transfer problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
chuayongquan@hotmail.com
Guest





PostPosted: Thu Feb 17, 2005 8:41 am    Post subject: Indy 10 file transfer problem Reply with quote



I am transfering some file over a LAN using Indy 10. I have one IP but
two ports : 9999 for Command port and 8888 for Data port. That's
mean I am using two IdTCPServer and IdTCPClient components. I keep
getting error while transfering file using the Data port. The command
port works fine.y

The strange thing is that when I only use one port for transfering
let's say 8888 I have no problem. In this case I am using only one
IdTCPServer and IdTCPClient. Please help as my assignment is duing
soon.

Back to top
Maarten Wiltink
Guest





PostPosted: Thu Feb 17, 2005 4:28 pm    Post subject: Re: Indy 10 file transfer problem Reply with quote



<chuayongquan (AT) hotmail (DOT) com> wrote


Quote:
I am transfering some file over a LAN using Indy 10. I have one IP but
two ports : 9999 for Command port and 8888 for Data port. That's
mean I am using two IdTCPServer and IdTCPClient components. I keep
getting error while transfering file using the Data port. The command
port works fine.y

The strange thing is that when I only use one port for transfering
let's say 8888 I have no problem. In this case I am using only one
IdTCPServer and IdTCPClient. Please help as my assignment is duing
soon.

Is the error (message) always the same? What is it?

Are you using blocking or non-blocking sockets? It sounds like you
might be being bitten by the difference between synchronous and
asynchronous data transfers (relative to the command channel).

I take it this is a fairly straight standard FTP re-implementation?

Groetjes,
Maarten Wiltink



Back to top
chuayongquan@hotmail.com
Guest





PostPosted: Fri Feb 18, 2005 12:49 am    Post subject: Re: Indy 10 file transfer problem Reply with quote



the error that i got is that my second IdTCPClient in my client app
always cannot connect to the second IdTCPServer on the server.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.