Solved

Problem using TIdTCPServer and TIdTCPClient for File Transfer

Posted on 2004-03-28
2
829 Views
Last Modified: 2010-04-05
Hi,

I am currently using both TIdTCPServer and TIdTCPClient to allow one PC to access a particular file on another PC (client accessing the server).

Is this possible with these classes? I was not thinking of using FTP as what I want is a peer to peer solution to retrieve one file at 1 time and then immediately close the connection.

I was able to modify the ImageServer in the Indy Demo to allow the download of the particular file when testing using 127.0.0.1.
But when I deploy the server on the real target PC, my client always give Connection problem #10061.

Anyone any idea?

Best regards,
Jason
0
Comment
Question by:jasongth
[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
2 Comments
 
LVL 8

Accepted Solution

by:
BdLm earned 125 total points
ID: 10703240
I got the same problem,
my solution: try it with your real IP Adress, stand alone use 127.0.0.1 within the network use your IP  Adress.
0
 

Author Comment

by:jasongth
ID: 10710798
I found my problem in that my client is connecting to the server's IP address while my server binds to the client's IP address.
Thanks! It is my programming fault all the while.
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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…

734 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