Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Send file in internet

Posted on 2006-10-25
6
175 Views
Last Modified: 2010-04-05
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.
0
Comment
Question by:A. Cristian Csiki
  • 2
6 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 168 total points
ID: 17802178
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
 
LVL 11

Expert Comment

by:calinutz
ID: 17806683
You could use indy's components to make ftp transfer between your locations... and don't forget ftp = file transfer protocol :)
0
 
LVL 11

Assisted Solution

by:calinutz
calinutz earned 166 total points
ID: 17806711
Also do not forget to check out matlus's tutorials. They are great for internet applications:
http://www.matlus.com/scripts/website.dll
0
 
LVL 17

Assisted Solution

by:TheRealLoki
TheRealLoki earned 166 total points
ID: 17808217
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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question