Solved

FTP connection problems using TIdFTP

Posted on 2004-08-27
7
1,134 Views
Last Modified: 2012-06-21
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!
0
Comment
Question by:Paul197466
  • 4
7 Comments
 

Author Comment

by:Paul197466
ID: 11918456
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
 
LVL 5

Expert Comment

by:rsriprac
ID: 11918644
>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
 

Author Comment

by:Paul197466
ID: 11919497
The FTP server is not on my network.

They could connet to this server using FTP client
0
 

Author Comment

by:Paul197466
ID: 11920315
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
 

Accepted Solution

by:
Paul197466 earned 0 total points
ID: 11920345
It's milliseconds!!!

That's the problem.

Thanks for your help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question