 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Geoff Marshall Guest
|
Posted: Sat Dec 24, 2005 1:36 pm Post subject: Use of Trivial FTP |
|
|
I'm trying to use TIdTrivialFTPServer and TIdTrivialFTP pair to transmit
a file.
On the LAN network everything is fine.
On the Internet the connection is established, but the server
"completes" immediately with a success status of "fail". (The Client
then closes down after the timeout).
Reversing the process (client machine becomes server and server machine
becomes client) gives NO results.
I am running the Black Ice Personal Fire wall and have set that to pass
messages on the port I have selected.
I am running Norton AntiVirus with Worm Protection in which I have set a
general rule to pass messages on both the local and remote port I have
selected for both TCP and UDP, but the rule comes back stating it is for
INBOUND traffic. I have also tried running with Worm Protection
switched Off.
Windows Firewall is switched Off.
Everything seems consistent with the server machine being unable to
transmit through this port on the internet circuit. But why?????
Any ideas or comments from other who have solved a similar problem
would be MOST appreciated.
Geoff Marshall
|
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Tue Dec 27, 2005 9:29 am Post subject: Re: Use of Trivial FTP |
|
|
Geoff Marshall wrote:
| Quote: | I'm trying to use TIdTrivialFTPServer and TIdTrivialFTP pair to
transmit a file.
On the LAN network everything is fine.
On the Internet the connection is established, but the server
"completes" immediately with a success status of "fail". (The Client
then closes down after the timeout).
Reversing the process (client machine becomes server and server
machine becomes client) gives NO results.
I am running the Black Ice Personal Fire wall and have set that to
pass messages on the port I have selected.
I am running Norton AntiVirus with Worm Protection in which I have
set a general rule to pass messages on both the local and remote port
I have selected for both TCP and UDP, but the rule comes back stating
it is for INBOUND traffic. I have also tried running with Worm
Protection switched Off.
Windows Firewall is switched Off.
Everything seems consistent with the server machine being unable to
transmit through this port on the internet circuit. But why?????
Any ideas or comments from other who have solved a similar problem
would be MOST appreciated.
Geoff Marshall
|
the problem could lie on the protocol. TrivialFTP is based on UDP,
which is by design a "send-and-forget" protocol (the server sends the
packet but does not control if the client receives it). In other words,
an unreliable protocol, even more for a net like the Internet.
Most errors in a TFTP communication cause termination of the
connection. Specifically, a connection is terminated if:
-> server is not able to satisfy the request - file not found, AV, no
such user
-> receiving a packet which cannot be explained by delay or
duplication, i.e., an incorrectly formed packet
-> losing access to a necessary source - disk full or access denied
during a transfer
An error is signalled by sending an error packet, but it is neither
acknowledged nor retransmitted, so maybe the other end won't get it.
That's the reason for having the timeouts.
TrivialFTP is a protocol which i wouldn't use for anything else that a
simple LAN. My suggestion is to change to FTP.
Good luck
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
|
|
| Back to top |
|
 |
Geoff Marshall Guest
|
Posted: Wed Dec 28, 2005 6:11 am Post subject: Re: Use of Trivial FTP |
|
|
Thanks for the comments. I don't think my problem is any of these types
since it is totally consistent and not by-directional. But I will try
ordinary FTP.
Geoff Marshall
Guillem wrote:
| Quote: |
the problem could lie on the protocol. TrivialFTP is based on UDP,
which is by design a "send-and-forget" protocol (the server sends the
packet but does not control if the client receives it). In other words,
an unreliable protocol, even more for a net like the Internet.
Most errors in a TFTP communication cause termination of the
connection. Specifically, a connection is terminated if:
-> server is not able to satisfy the request - file not found, AV, no
such user
-> receiving a packet which cannot be explained by delay or
duplication, i.e., an incorrectly formed packet
-> losing access to a necessary source - disk full or access denied
during a transfer
An error is signalled by sending an error packet, but it is neither
acknowledged nor retransmitted, so maybe the other end won't get it.
That's the reason for having the timeouts.
TrivialFTP is a protocol which i wouldn't use for anything else that a
simple LAN. My suggestion is to change to FTP.
Good luck
Geoff Marshall wrote:
I'm trying to use TIdTrivialFTPServer and TIdTrivialFTP pair to
transmit a file.
On the LAN network everything is fine.
On the Internet the connection is established, but the server
"completes" immediately with a success status of "fail". (The Client
then closes down after the timeout).
Reversing the process (client machine becomes server and server
machine becomes client) gives NO results.
I am running the Black Ice Personal Fire wall and have set that to
pass messages on the port I have selected.
I am running Norton AntiVirus with Worm Protection in which I have
set a general rule to pass messages on both the local and remote port
I have selected for both TCP and UDP, but the rule comes back stating
it is for INBOUND traffic. I have also tried running with Worm
Protection switched Off.
Windows Firewall is switched Off.
Everything seems consistent with the server machine being unable to
transmit through this port on the internet circuit. But why?????
Any ideas or comments from other who have solved a similar problem
would be MOST appreciated.
Geoff Marshall
|
|
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Wed Dec 28, 2005 10:01 am Post subject: Re: Use of Trivial FTP |
|
|
Geoff Marshall wrote:
| Quote: | Thanks for the comments. I don't think my problem is any of these
types since it is totally consistent and not by-directional. But I
will try ordinary FTP.
Geoff Marshall
-> receiving a packet which cannot be explained by delay or
duplication, i.e., an incorrectly formed packet
|
my guess would lie in this error :)
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
|
|
| Back to top |
|
 |
Ciaran Costelloe Guest
|
Posted: Thu Dec 29, 2005 8:39 pm Post subject: Re: Use of Trivial FTP |
|
|
Geoff Marshall wrote:
| Quote: | I'm trying to use TIdTrivialFTPServer and TIdTrivialFTP pair to
transmit a file.
On the LAN network everything is fine.
On the Internet the connection is established, but the server
"completes" immediately with a success status of "fail". (The Client
then closes down after the timeout).
|
Try running Ethereal www.ethereal.com on the client to see what is
going on.
Ciaran
|
|
| Back to top |
|
 |
|
|
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
|
|