Send file in internet

Hi experts.
I need to send an archive over the internet. I think I need to make a host and a receiver, opening some ports, but sounds a bit hard. Is there a easier way?
P.s: The code is for personal use only. I'm making a program that will automaticly send my that archive each day from internet from a computer to another.

Thanks.
LVL 11
A. Cristian CsikiSenior System AdministratorAsked:
Who is Participating?
 
2266180Commented:
well, best way in this case would be to use a serversocket for the receiving end (server), and a clientsocket for the sending end (client). you will need to open the server listening port in the firewall anyway.

here is an example: http://www.delphi3000.com/articles/article_2313.asp?SK= (free registration is required)
0
 
calinutzCommented:
You could use indy's components to make ftp transfer between your locations... and don't forget ftp = file transfer protocol :)
0
 
calinutzCommented:
Also do not forget to check out matlus's tutorials. They are great for internet applications:
http://www.matlus.com/scripts/website.dll
0
 
TheRealLokiSenior DeveloperCommented:
easiest way imho would be to install an FTP server at one end, and use a scripted ftp client at the other
many ftp clients have scripting allowing you to set up a list of commands such as

login myserver:21 myname mypassword
cd incoming
put myfile.zip
quit

I know it's not delphi, but no need to reinvent everything if you want simple.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.