| View previous topic :: View next topic |
| Author |
Message |
chuayongquan@hotmail.com Guest
|
Posted: Thu Feb 17, 2005 8:41 am Post subject: Indy 10 file transfer problem |
|
|
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
|
Posted: Thu Feb 17, 2005 4:28 pm Post subject: Re: Indy 10 file transfer problem |
|
|
<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
|
Posted: Fri Feb 18, 2005 12:49 am Post subject: Re: Indy 10 file transfer problem |
|
|
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 |
|
 |
|