Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : FTP with port redirection
| Subject: | FTP with port redirection |
| Posted by: | "Mikael Lenfors" (mika..@lenfors.se) |
| Date: | Tue, 29 Jan 2008 11:03:07 |
Hello!
I have a delphi program using Indy FTP communicating with a lot of
"Meassurement" units. Now some of these units are far away and we have them
connected to a GPRS router. To be able to connect to them we have to add
"forwarder" in the router redirecting port 21 to the actual internal adress
of the "meassurement unit".
Eg. The routers extrenal adress is 101.102.103.104 and the internal adress
is 192.168.1.1.
This works fine for one unit, but hov can I communicate with two or more
units connected to the same router?
I assume I have to select another FTP port than 21 for the second unit so
that I can forward eg. port 210 to 192.168.1.2 and port 21 instead. This
works for the FTP login but when I try to transfer data (put / get / dir) it
fails! I assume the actual file transfer is done on some other port!?
I hope you understand my problem....
regards, Mikael