- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Time stamp problem when doing ftp
Operating System - Linux
1752803
Members
5262
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-27-2009 05:44 AM
тАО07-27-2009 05:44 AM
Time stamp problem when doing ftp
I have a customer running RHEL 5.1. They transfer some files to the server using ftp. The transferred files have incorrect time stamp problem. I have checked the system date and time and they are correct. But when they put some files on the server, they have incorrect time stamp. Can any one please give me some clue.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 06:33 AM
тАО07-27-2009 06:33 AM
Re: Time stamp problem when doing ftp
Shalom,
Consider using RHN to update to RHEL 5 update 3.
Consider using ntp to keep system time up to date down to the second.
Neither will definitely solve the problem but it eliminates a possible cause of the issue.
You may have your server configured to preserve permissions. This is actually common and there could be a problem with the date/time stamp on the source system.
Consider using ntp on the source system and check the date/time stamp prior to transmitting them via ftp.
SEP
Consider using RHN to update to RHEL 5 update 3.
Consider using ntp to keep system time up to date down to the second.
Neither will definitely solve the problem but it eliminates a possible cause of the issue.
You may have your server configured to preserve permissions. This is actually common and there could be a problem with the date/time stamp on the source system.
Consider using ntp on the source system and check the date/time stamp prior to transmitting them via ftp.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 07:12 AM
тАО07-27-2009 07:12 AM
Re: Time stamp problem when doing ftp
How can I check if the server is configured to preserve permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 09:16 AM
тАО07-27-2009 09:16 AM
Re: Time stamp problem when doing ftp
> [...] The transferred files have incorrect
> time stamp problem. [...]
Define "incorrect".
FTP does not normally preserve file date-time
(or ownership, or permissions, or ...).
> You may have your server configured to
> preserve permissions.
I don't understand how an FTP _server_ can
preserve anything.
> How can I check if the server is configured
> to preserve permissions.
See above.
Some FTP clients (like, say, wget) can, as an
option, try to capture some of these data
from a directory listing, and then set the
attributes accordingly on a fetched file,
but, given the unfortunate format of a
typical UNIX(-like) "ls -l" directory
listing, the results are often sub-ideal.
If you _really_ want the file attributes at
the destination to match those at the source,
then you should probably use "tar" or Zip
(or something) to preserve those attributes,
and use FTP to transfer the archive instead
of individual files. Then you'll have the
attributes available when you extract the
files from the archive at the other end.
> time stamp problem. [...]
Define "incorrect".
FTP does not normally preserve file date-time
(or ownership, or permissions, or ...).
> You may have your server configured to
> preserve permissions.
I don't understand how an FTP _server_ can
preserve anything.
> How can I check if the server is configured
> to preserve permissions.
See above.
Some FTP clients (like, say, wget) can, as an
option, try to capture some of these data
from a directory listing, and then set the
attributes accordingly on a fetched file,
but, given the unfortunate format of a
typical UNIX(-like) "ls -l" directory
listing, the results are often sub-ideal.
If you _really_ want the file attributes at
the destination to match those at the source,
then you should probably use "tar" or Zip
(or something) to preserve those attributes,
and use FTP to transfer the archive instead
of individual files. Then you'll have the
attributes available when you extract the
files from the archive at the other end.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP