Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FTP connection problems using TIdFTP

Posted on 2004-08-27
7
Medium Priority
?
1,145 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

Technology Partners: 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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

972 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