FTP connection problems using TIdFTP

OK, I have a Delphi 7 application that is using the Indy TIdFTP component for connecting to an FTP site.

The application works fine on my PC but fails to connect (with timeout message) on client's PC, when using same login credentials to same FTP site.

Thinking that it might be a firewall/ proxy problem, I had them use WS_FTP Pro (an FTP client) to connect to the FTP site with same login credentials - worked fine

Any thoughts on what else might be causing this problem, gratefully received!
Paul197466Asked:
Who is Participating?
 
Paul197466Connect With a Mentor Author Commented:
It's milliseconds!!!

That's the problem.

Thanks for your help
0
 
Paul197466Author Commented:
One thought, I'm using Windows 2003 Server and I think my client may be using Windows XP

I noticed someone else had problems with this componen on XP?
0
 
rsripracCommented:
>Thinking that it might be a firewall/ proxy problem, I had them use WS_FTP Pro (an FTP client) to connect to the FTP site with same login credentials - worked fine

Did it work fine on the client machine or was it only from your machine?  One think you might check is the firewall setting on the server.  It might be set to letting only IP from your PC and not your clients'.

Another way of testing this is by telneting to your server from your client's end.  Just telent to the FTP port and see if it connects from the client's machine.

-Ram
0
 
Paul197466Author Commented:
The FTP server is not on my network.

They could connet to this server using FTP client
0
 
Paul197466Author Commented:
Ahh, what are the units for timeout parameter in TIdFTP.Connect?  Seconds or milliseconds?  I couldn'g find this documented anywhere!

I was assuming seconds
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.