| View previous topic :: View next topic |
| Author |
Message |
Tom Berry Guest
|
Posted: Mon Apr 10, 2006 3:03 pm Post subject: TIdFTP Application |
|
|
I am using C++ 6 and Indy
TIdFTP *Browser = new TIdFTP(Application);
Browser->Passive = false;
Browser->User = UserName;
Browser->Password = Password;
Browser->Port = 21;
Browser->BoundIP = "";
Browser->Host = Host;
Browser->Connect(true);
Browser->TransferType = ftBinary;
Browser->Get(Path ,true);
It works OK with all my users except SOME WIN XP machines. They will
get the error "Socket Error 11004". I cannot reproduce the error on
my XP computer.
Any idea where to start looking for a resolutation?
Thanks
Tom Berry |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 10, 2006 7:03 pm Post subject: Re: TIdFTP Application |
|
|
"Tom Berry" <tberry1 (AT) triad (DOT) rr.com> wrote in message
news:rspk32lgs0pasj0k68j8ku3m3t8goumf5s (AT) 4ax (DOT) com...
| Quote: | I am using C++ 6 and Indy
|
Which specific version of Indy ar you using?
| Quote: | It works OK with all my users except SOME WIN XP machines.
They will get the error "Socket Error 11004".
|
At which point in the code exactly? Did you verify that you are specifying
the correct Host string and Port number?
Gambit |
|
| Back to top |
|
 |
Tom Berry Guest
|
Posted: Mon Apr 10, 2006 8:03 pm Post subject: Re: TIdFTP Application |
|
|
On Mon, 10 Apr 2006 11:19:39 -0700, "Remy Lebeau \(TeamB\)"
<no.spam (AT) no (DOT) spam.com> wrote:
| Quote: | Which specific version of Indy ar you using?
The Verson properity says 8.0.25 |
| Quote: | At which point in the code exactly?
|
I am not really sure since it doesn't happen on my computer but I can
put a trap in the code and send it to one of the customers that has
the problem to find out.
| Quote: | Did you verify that you are specifying
the correct Host string and Port number?
|
Yes it does work for most my users - just a few Win XP users.
Thanks
Tom Berry |
|
| Back to top |
|
 |
Tom Berry Guest
|
Posted: Mon Apr 10, 2006 8:03 pm Post subject: Re: TIdFTP Application |
|
|
On Mon, 10 Apr 2006 11:19:39 -0700, "Remy Lebeau \(TeamB\)"
<no.spam (AT) no (DOT) spam.com> wrote:
| Quote: |
Which specific version of Indy ar you using?
|
Do you think I should update to the latest Version 9?
Thanks
Tom Berry |
|
| Back to top |
|
 |
Max Guest
|
Posted: Mon Apr 10, 2006 9:03 pm Post subject: Re: TIdFTP Application |
|
|
Tom Berry schreef:
| Quote: | I am using C++ 6 and Indy
TIdFTP *Browser = new TIdFTP(Application);
Browser->Passive = false;
Browser->User = UserName;
Browser->Password = Password;
Browser->Port = 21;
Browser->BoundIP = "";
Browser->Host = Host;
Browser->Connect(true);
Browser->TransferType = ftBinary;
Browser->Get(Path ,true);
It works OK with all my users except SOME WIN XP machines. They will
get the error "Socket Error 11004". I cannot reproduce the error on
my XP computer.
Any idea where to start looking for a resolutation?
Thanks
Tom Berry
|
Could the Windows XP firewall be the reason of this error?
--
Max
C++U2 |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 10, 2006 10:06 pm Post subject: Re: TIdFTP Application |
|
|
"Tom Berry" <tberry1 (AT) triad (DOT) rr.com> wrote in message
news:7aal32l2n60nmv5socft2smkahgmgfdts6 (AT) 4ax (DOT) com...
| Quote: | The Verson properity says 8.0.25
|
Then you are using a VERY old version of Indy that is no longer supported.
You should seriously consider upgrading to the current 9.0.50 snapshot.
Indy 9 has a lot of features and fixed over Indy 8.
Gambit |
|
| Back to top |
|
 |
Tom Berry Guest
|
Posted: Mon Apr 10, 2006 11:03 pm Post subject: Re: TIdFTP Application |
|
|
On Mon, 10 Apr 2006 14:02:53 -0700, "Remy Lebeau \(TeamB\)"
<no.spam (AT) no (DOT) spam.com> wrote:
| Quote: | Then you are using a VERY old version of Indy that is no longer supported.
You should seriously consider upgrading to the current 9.0.50 snapshot.
Indy 9 has a lot of features and fixed over Indy 8.
OK I will try it. Thanks |
Tom Berry |
|
| Back to top |
|
 |
Tom Berry Guest
|
Posted: Mon Apr 10, 2006 11:03 pm Post subject: Re: TIdFTP Application |
|
|
On Mon, 10 Apr 2006 21:42:03 +0200, Max <nomail (AT) 4me (DOT) nl> wrote:
| Quote: | Could the Windows XP firewall be the reason of this error?
|
I have tried turning everything on in the firewall and it still works
on my XP computer.
Thanks
Tom Berry |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Apr 11, 2006 1:03 am Post subject: Re: TIdFTP Application |
|
|
"Tom Berry" <tberry1 (AT) triad (DOT) rr.com> wrote in message
news:ggkl321u5q42so8r1t4cjs3hv2jmkdq6mh (AT) 4ax (DOT) com...
| Quote: | I have tried turning everything on in the firewall and
it still works on my XP computer.
|
Then you need to figure out how the user's machine and/or network setup
differs from your own.
Gambit |
|
| Back to top |
|
 |
Max Guest
|
Posted: Wed Apr 12, 2006 12:03 pm Post subject: Re: TIdFTP Application |
|
|
Tom Berry schreef:
| Quote: | On Mon, 10 Apr 2006 21:42:03 +0200, Max <nomail (AT) 4me (DOT) nl> wrote:
Could the Windows XP firewall be the reason of this error?
I have tried turning everything on in the firewall and it still works
on my XP computer.
Thanks
Tom Berry
A quick scan with Google gives a number of "socket error 11004" |
messages. They seem related to either firewall software blocking
outgoing traffic or a hostname that isn't resolved by DNS. If you are
sure that there isn't some firewall application running on the failing
Win XP machines, you could try to bypass DNS and use the adress of the
host instead of its name.
--
Max
C++U2 |
|
| Back to top |
|
 |
|