Solved

Problem using TIdTCPServer and TIdTCPClient for File Transfer

Posted on 2004-03-28
2
825 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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