Page 1 of 1
What code would you use to send data over the internet?
Posted: Sun May 03, 2009 10:17 am
by user#606
A simple senario would be to send the contents of a field from one unknown computer to the hard drive of a single known computer. Each file sent would have a unique file name.
Any ideas?
Posted: Sun May 03, 2009 3:39 pm
by Janschenkel
If the remote known computer is running an FTP server, it can be as simple as
Code: Select all
put field "Content" into URL "ftp://user:password@example.com/uniquefilename.txt"
However, if there is no FTP server running, things will be a bit more complicated, as you'll have to write the code for a server application to run on that remote known computer.
Jan Schenkel.
Posted: Sun May 03, 2009 4:54 pm
by user#606
Thank you, that piece of code looks clear enough. However, I dont know what an ftp server is. I presume a normal PC connected to the internet is http. So what do we need to do the make it ftp?
Posted: Mon May 04, 2009 5:44 am
by Janschenkel
If the computer is a Windows server that has
MS Internet Information Services (IIS) installed, it's as simple as ticking a box to activate the FTP server. However, there's a license cost involved, which you may want to avoid - in such case,
FileZilla Server may be a good free/opensource alternative.
Jan Schenkel.
re
Posted: Mon May 25, 2009 3:56 pm
by sashu100
Thanks for your useful information...
BPO services india