Discussion:
Site to Site using WinInet?
(too old to reply)
Jason Johnson
2004-05-13 20:38:58 UTC
Permalink
I would like to know if it is possible to transfer files from one computer
to another using WinInet. They will both have an internet connection using
DSL or Dial-Up. Can I use the FTP functions to send a file from the first
computer to the second computer without having to go thru a web site?

Can I create an FTP Server on one machine and then create an FTP Client on
another machine and just pump the file thru using an IP address?
--
Jason
***@att.net
Brian Cryer
2004-05-14 14:16:47 UTC
Permalink
Post by Jason Johnson
I would like to know if it is possible to transfer files from one computer
to another using WinInet. They will both have an internet connection using
DSL or Dial-Up. Can I use the FTP functions to send a file from the first
computer to the second computer without having to go thru a web site?
Can I create an FTP Server on one machine and then create an FTP Client on
another machine and just pump the file thru using an IP address?
--
Jason
Yes you can, but there are some issues to be aware of:

1. You are right that at the recipient end you will need to run an FTP
server. WinInet only provides client side FTP. If you don't have one then
GuildFTPd is a free ftp server that I've had no trouble with -
www.guildftpd.com.

2. At your other end you will have to put something together using WinInet's
FTP functions to connect to your server and push your files up.

3. Since you said that at both ends there will be either DSL or Dial-up, are
you likely to have your ftp server on a dial-up connection or at least with
a changable IP address? If the IP address of your FTP server changes then
you have a problem of how does your client know where to connect. One
approach would be to look into some of the free dynamic dns servers - such
as www.no-ip.com, which allow you to register your IP address when you dial
up.

hope this helps,

Brian.

www.cryer.co.uk/brian

Loading...