- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hp-ux script for ftp .gz files from ftp
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
тАО03-03-2010 12:01 AM
тАО03-03-2010 12:01 AM
hp-ux script for ftp .gz files from ftp
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 02:14 AM
тАО03-03-2010 02:14 AM
Re: hp-ux script for ftp .gz files from ftp
Do you want to ftp each gzipped file, or combine all files and gzip that tar file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 04:16 AM
тАО03-03-2010 04:16 AM
Re: hp-ux script for ftp .gz files from ftp
A search of this forum for 'ftp' scripts and will return a number of offerings. Once you have the script, created a 'crontask' is as simple as reading the manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 09:50 PM
тАО03-03-2010 09:50 PM
Re: hp-ux script for ftp .gz files from ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 01:23 AM
тАО03-04-2010 01:23 AM
Re: hp-ux script for ftp .gz files from ftp
a possible way to go ahead is to create a script with in input the file name. This script will compress and trasnfer the file by ftp.
Once you have it you can incapsulate it into another script that defined the files to be compresed and trasnfer by ftp.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 02:41 AM
тАО03-04-2010 02:41 AM
Re: hp-ux script for ftp .gz files from ftp
Not sure which of my N questions you were answering?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 09:59 AM
тАО03-04-2010 09:59 AM
Re: hp-ux script for ftp .gz files from ftp
1. You 1st must have a proven manual process that you understand. Forget scripting until you can do manually what you want in a sample format (if you're moving 100 files, strip that down to 5 for your POC (proof of concept).
2. Observe which parts of the process appear to be constant and those which vary. The constant parts form the core of your code, the variants become sujects of the code to be processed (such as a list of files).
3. Learn the various methods (there are several effective ones) for processing a list of items and acting upon the variables. For loops, while loops, if-then, etc...
4. Figure out how you can safely run your code against real objects to real systems, and you're off to the races. Once you've figured things out for the short list, the rest is easy!
RCP