Solved

FTP connection problems using TIdFTP

Posted on 2004-08-27
7
1,139 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Simple Linear Regression
Introduction to Processes

623 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