LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-08-2003, 03:49 PM   #1
fiod
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Simple Script


Hi,

My target is to create a subdirectory, which holds certain files -
and I want 2 computers connected to the Internet to automatically transfer the files from one to another on a certain time of the day (say 8:00).

The source computer has a FTP server enabled and configured.

What sort of solution should I use?
How do I even start to write a script that does so?

Thanks alot in advance,
 
Old 09-08-2003, 03:54 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Welcome to LQ.

Get the destination computer to run a "wget" command. You can do it automatically at 8 O'clock using a cron entry.
 
Old 09-08-2003, 04:03 PM   #3
fiod
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you.

Thats good to know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 05:19 AM
New to C++ help with simple script Fredstar Programming 9 08-08-2005 12:09 PM
Help on simple script granny Programming 2 02-11-2004 05:02 PM
A Simple Script fiod Linux - General 3 09-20-2003 09:56 PM
Simple C Shell script is not so simple elconde Programming 2 09-17-2001 12:53 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration