- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simple FTP script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 03:09 PM
тАО07-19-2000 03:09 PM
Simple FTP script
I'm wondering if anyone has a simple ftp script to do this or can walk me through it.
I want to ftp (+ prompt for user,passwd,but leave dir and file name as /etc/hosts) a standard host file to a bunch of systems and ensure permissions on it so it will be available for use. Running ITO and adding managed nodes across the wan and need to ensure host is the same in all locations.
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 03:34 PM
тАО07-19-2000 03:34 PM
Re: Simple FTP script
cd /
ftp -n -v
user
lcd /
get/put
ENDFTP
This will do just one host. Can embellish to do more.
Do a search for FTP in the forums and you will find multiple threads on this subject.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 08:17 PM
тАО07-19-2000 08:17 PM
Re: Simple FTP script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 08:27 PM
тАО07-19-2000 08:27 PM
Re: Simple FTP script
There are two different versions of the utility. The HP version comes standard with the system but needs the fileset loaded from the install disks (it's not loaded by default on a new install). There are some patches out there too. The other version is available from GNU. I prefer this version where it has some additional capabilities and can also talk to non HP machines. The last I knew, the porting center has some binaries precompiled, but compiling it with either the HP ANSI C compiler or gcc is no problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2000 12:14 PM
тАО08-01-2000 12:14 PM
Re: Simple FTP script
I.E. If running bind, the name server should be the first entry, second entry is the local host, third entry is the loopback. Sendmail can have difficulty if this order is not preserved, as well as some other applications.
If you need to sync hostnames, can you run either bind, or nis? This would be the preferred method.
Regards
Shannon Petry