LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2001, 05:01 PM   #1
bktpv
LQ Newbie
 
Registered: Nov 2001
Location: Shelton,CT,USA
Posts: 8

Rep: Reputation: 0
cronjob for auto-ftp


Hi all

I request you all to know the procedure for making ftp of folders automatically from my desktop to my linux workstation,for backing up important files on a scheduled basis

Thx in advance for the soln.

bktpv
 
Old 12-07-2001, 01:09 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok you have an ftp server with the files that need to be backed up and you are wanting the client to connect via ftp and get the files and put them somewhere local.




The best way I can think of is to use ftpfs

your script would simply mount the ftp server like this

cd /mnt/ftpfs/ftpserver


now at this point the folder structure of the ftp server appears to be a local folder and you have cd 'd into it so you can cp whatever you want like this

cp -R pathonserver/myfiles/* /local/backup/


ain't this great

yeee haw


 
Old 12-08-2001, 08:30 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
In response to your email,

Windows Stuff......



Yes you can do ftp with win 2000.

Right click on my computer, select manage

expand tree at bottom at Services and Applications

expand tree at Internet Information Services


Right click on FTP File Databank

Select New

Select Virtual Directory

the wizard will run


put in a name for the share folder


setup the path to your files

Set read and or write permissions

after the share is built, right click it and goto the Permissions wizard to set advanced permissions if you want.


Click Services in the IIS tree,

on the right side in the view pane, right click FTP Publishing Service

Select Properties

Setup the Startup option, Logging options, and failure recovery options.

You can start and stop the service by right clicking FTP File Databank if you are starting it manually.
--------------------------------------------------------------------------


If none of this stuff exists on your system, put the disk in and install it, it does not install in the default installation.

-------------------------------------------------------------------------

Linux stuff........



In response to the ftpfs problem


You do not have it?


Get it, and install it.


If you have problems installing it search for ftpfs on this forum.


If that don't help post again.


It's a very simple to use program like it shows above.

simply cd into the ftp site, it can't get any easier than that
















Last edited by DavidPhillips; 12-08-2001 at 09:20 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto create user, mysql and ftp haze Linux - General 1 04-12-2005 11:10 AM
How to Shell Script auto ftp connection? mtn356 Linux - General 4 03-18-2004 08:31 PM
Auto FTP transfer madunix *BSD 0 02-29-2004 03:57 PM
How to auto login into ftp mphreddy Programming 2 10-29-2003 07:30 AM
ftp server auto renaming? JustinHoMi Linux - Networking 0 12-07-2001 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:06 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
Open Source Consulting | Domain Registration