- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to FTP to UNIX file.yyyymmdd
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
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
тАО09-09-2004 09:36 AM
тАО09-09-2004 09:36 AM
My FTP card looks like this:
=================================
10.132.131.257 (exit=08
ANONYMOUS
PASS@SOMETHING.COM
LOCSITE NOTRAIL
put 'GLOBAL.SOV.NDM(0)' +
/export/pub/blacksheet
quit
/*
================================
Thansk to all.
Mario
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 09:42 AM
тАО09-09-2004 09:42 AM
SolutionI am not sure there is..
You can probably setup a cronjob that will rename the file everytime it finds it.. One of the practices I have seen is that the ftp client uploads the datafiles and an index file containing the list of the datafiles. On the ftp server, a cronjob runs every n minutes, looks for the index file and renames the files under index file to the desired format..
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 09:46 AM
тАО09-09-2004 09:46 AM
Re: How to FTP to UNIX file.yyyymmdd
`date +'%m%d%H%M'`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 10:27 AM
тАО09-09-2004 10:27 AM
Re: How to FTP to UNIX file.yyyymmdd
So on the UNIX side, you cen use:
get SOME.MVS.FILENAME $MYLOCALNAME
where MYLOCALNAME is defined earlier in the script with:
MYLOCALNAME=$(date +'%Y%m%d')
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2004 01:25 PM
тАО09-09-2004 01:25 PM