Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FTP connection problems using TIdFTP

Posted on 2004-08-27
7
Medium Priority
?
1,142 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

In this post we will learn different types of Android Layout and some basics of an Android App.
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…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

722 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