Solved

Send file in internet

Posted on 2006-10-25
6
178 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
[X]
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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reconfigure Delphi Install? 2 77
Base1 Encode/Decode 3 100
Dev express lookupcombo 3 64
TAction.OnAfterExecute? 2 31
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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