- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Name file 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
Forums
Discussions
Discussions
Discussions
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
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
06-11-2001 10:41 AM
06-11-2001 10:41 AM
Name file ftp
local file: ppp remote file: ppp.`date remote`
MDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 11:51 AM
06-11-2001 11:51 AM
Re: Name file ftp
get remote_file_name local_file_name
or
put local_file_name remote_file_name
If you are get'ting a file The local_file_name can be different from the original. If you are put'ting a file the remote_file_name can different from the original.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 01:04 PM
06-11-2001 01:04 PM
Re: Name file ftp
eg: local file, ppp , remote file, pp.19052001
MDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 04:02 AM
06-12-2001 04:02 AM
Re: Name file ftp
either
use local DATE=$(date +%Y%m%d)
or
use remote DATE=$(remsh remotehost 'date +%Y%m%d')
The second option requires additional access privileges on the remote host, which a ftp-user usually does not have (see man remsh, .rhosts, inetd.sec).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 04:43 AM
06-12-2001 04:43 AM
Re: Name file ftp
rcp host2:/a/file /here/file
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2001 04:49 AM
06-12-2001 04:49 AM
Re: Name file ftp
#remsh remote_host -l remote_login_name -n "DATE=$(date +%Y%m%d);mv /PATH/ppp /PATH/ppp.${DATE}"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2001 06:31 AM
06-13-2001 06:31 AM
Re: Name file ftp
rename filename newfilename
regards,
Bart