![]() |
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 |
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:... |
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. |
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. |
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 03:37 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz