Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi files exchange between two pc (https://www.delphipraxis.net/6495-files-exchange-between-two-pc.html)

marconi8 12. Jul 2003 23:32


files exchange between two pc
 
for example there is two pc, each of them is remote pc and under firewall
,what components i must to use for this problem solution

i try to make file exchange between two pc which are under firewalls

i am using D5 + Indy

thanks

sakura 13. Jul 2003 07:44

Re: files exchange between two pc
 
You could, theoretically, use the TIdTCPServer and the TIdTCPClient components. You cannot by-pass the firewalls with any component. You have to configure the firewall in a way, that it will allow your programm to send and receive data.

...:cat:...

Gast 13. Jul 2003 09:57

Re: files exchange between two pc
 
Another approach could be to use a protocal such as FTP or HTTP to transfer both files and control data.

This has the advantage that you won't have to invent your own protocol. HTTP (as to my opinion) provides more options than FTP ... furthermore it's easier to secure it using some kind of encryption (Digest ...). FTP as defined as internet standrad does not provide such facility. Therefore you would have to use SSL to extend the FTP protocol to your needs.

AFAIK Indy provides both ... HTTP server/client and FTP server/client components.

Gast 13. Jul 2003 10:00

Re: files exchange between two pc
 
By the way: don't try to use FTP via port 80 behind a firewall. Of course this is possible, why not, but the firewall (if sophisticated enough) might verify packet contents.

HTTP and FTP have pretty obvious packets which you (or a firewall) could easily recognise by looking at them.

marconi8 13. Jul 2003 12:02

Re: files exchange between two pc
 
thats mean that i must to use TIdHTTP client/server components to made file exchange betweeen two or more pc , which are under firewalls and also they all are remote from each other


can somebody describe theory of this type, i am newbie and i still can't find any normal manuals for indy components

TIdHTTP means , that i can make file exchanging with others trought port 80 or 8080 until server administrator closes port 80 or 8080
yes ! i am right or not ?


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:55 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz