We help IT Professionals succeed at work.

Problem using TIdTCPServer and TIdTCPClient for File Transfer

jasongth
jasongth asked
on
Medium Priority
889 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
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
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.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.