Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRON FTP script MS ftp to Novell directory 1

Status
Not open for further replies.

mikeprob

IS-IT--Management
Mar 22, 2006
11
US
I am pretty much clueless when it comes to ftp let alone the more complicated it gets. I need to create a script to download from a MS ftp to a Novell 6.5 server and in turn upload from a Novell 6.5 server to a MS ftp server. The script needs to run on a Linux server via a cron job. This is a first for me to ftp anything and I am beyond lost. My company is in the slow process of migrating novell 6.5 to SUSE Linux and that is why I need to have a the script run on a linux server. Any help would be greatly appreciated.
 
It's pretty straightforward. You need to mount the Novell directory into your SUSE tree - a local mount point like /server/sharename will make it easier to recognize. (And make sure you have priviliges to write into the directory)

Then "open" the MS ftp, "lcd /server/sharename" and "get" or "mget".
Then close/quit/exit.
To send files the other way, everything is the same except "put" or "mput" instead of get/mget.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top