- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Date
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
02-23-2006 08:19 PM
02-23-2006 08:19 PM
How do I change the FTP date to match the server date?
hcp1 / #
hcp1 / # ftp hcp2
Connected to hcp2.
220 hcp2 FTP server (Version 1.1.214.4(PHNE_30990) Mon Nov 15 12:47:12 GMT 2004) ready.
Name (hcp2:root):
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221 Goodbye.
hcp1 / # date
Fri Feb 24 11:12:53 SAST 2006
hcp1 / #
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:25 PM
02-23-2006 08:25 PM
Re: FTP Date
ftp>!
#
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:09 PM
02-23-2006 09:09 PM
Re: FTP Date
Connected to MYSVR.
220 MYSVR.MU FTP server (Version 1.1.214.4(PHNE_30432) Thu Feb 26 10:46:14 GM
T 2004) ready.
User (MYSVR:(none)):
Like on mine is also different. The date you are seeing is the date the patch PHNE_30432 (or PHNE_30990) was released.
nothing to worry about!
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:20 PM
02-23-2006 09:20 PM
Re: FTP Date
I will change the script to generate a new log every day to solve his problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:27 PM
02-23-2006 09:27 PM
Re: FTP Date
You avoid this as,
ftp -in
user
commands to be executed
bye
EOF
will remove unneeded index messages.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:43 PM
02-23-2006 09:43 PM
Re: FTP Date
hcp1 / #
hcp1 / # ftp -in hcp2
Connected to hcp2.
220 hcp2 FTP server (Version 1.1.214.4(PHNE_30990) Mon Nov 15 12:47:12 GMT 2004) ready.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:12 PM
02-23-2006 10:12 PM
Re: FTP Date
should be -i -n
e.g.
ftp -i -n hcp2 <<-EOF
user root root
ls
bye
EOF
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:27 PM
02-23-2006 10:27 PM
Re: FTP Date
hcp1 / #
hcp1 / # ftp -i -n hcp2
Connected to hcp2.
220 hcp2 FTP server (Version 1.1.214.4(PHNE_30990) Mon Nov 15 12:47:12 GMT 2004) ready.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:54 PM
02-23-2006 10:54 PM
Re: FTP Date
it WILL work if you type all the texts as written below:
ftp -i -n hcp2 <<-EOF
user
ls
bye
EOF
###
NB. replace
we don't see "<< - EOF .." etc
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:17 PM
02-23-2006 11:17 PM
Re: FTP Date
Thanks for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:24 PM
02-23-2006 11:24 PM
Re: FTP Date
at the windows level, the following can also be implemented:
1. create a batch file which looks like this:
[get.cmd]
e.g.
ftp -v -n -i -s:c:\scripts\ftp\get.txt hcp2
2. create a file get.txt containing the instructions that you will normally type during the manual ftp session
[get.txt]
e.g.
user
prompt
bi
cd /tmp
get file*.log
bye
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:30 PM
02-23-2006 11:30 PM
Re: FTP Date
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:34 PM
02-23-2006 11:34 PM