- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP transfer error?
Operating System - HP-UX
1752227
Members
5937
Online
108785
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
тАО10-16-2001 03:43 AM
тАО10-16-2001 03:43 AM
FTP transfer error?
Hi all
I made a tranfer of file from one system to another, no error was reported.
A few days after I realized the version of the file was the older one, so the transfer was not successeful.
I also found this error:
A copy of an editor buffer of your file "xpto"
was saved when the system went down.
This buffer can be retrieved using the "recover" command of the editor.
An easy way to do this is to give the command "ex -r xpto".
This works for "edit" and "vi" also.
I ran the command and it worked, the new version appeared.
I just want to understand what happened...
Any clarification would be nice.
Thank you in advance.
SN
I made a tranfer of file from one system to another, no error was reported.
A few days after I realized the version of the file was the older one, so the transfer was not successeful.
I also found this error:
A copy of an editor buffer of your file "xpto"
was saved when the system went down.
This buffer can be retrieved using the "recover" command of the editor.
An easy way to do this is to give the command "ex -r xpto".
This works for "edit" and "vi" also.
I ran the command and it worked, the new version appeared.
I just want to understand what happened...
Any clarification would be nice.
Thank you in advance.
SN
System administrator
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2001 03:56 AM
тАО10-16-2001 03:56 AM
Re: FTP transfer error?
Hi,
The ftp was ok and you got the file right. But somehow, maybe you tried to edit it then the machine or shell crashed and the editor saved the file currently edited (ie new version) when he recieved the 'hang up' signal. Then you recovered it (the new version) using ex -r.
I think. :)
E.
The ftp was ok and you got the file right. But somehow, maybe you tried to edit it then the machine or shell crashed and the editor saved the file currently edited (ie new version) when he recieved the 'hang up' signal. Then you recovered it (the new version) using ex -r.
I think. :)
E.
To Live Is To Learn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2001 04:01 AM
тАО10-16-2001 04:01 AM
Re: FTP transfer error?
The original ftp transfer didnt work because either the system crashed while you have a vi session running or your shell with the vi session running was killed (by someone or the system going down - either crashing or someone rebooting it).
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 03:55 AM
тАО10-17-2001 03:55 AM
Re: FTP transfer error?
To build on Eugen's and Stefan's responses:
It looks like, whether you realized this or not, when you did the FTP, the editor was still running and the modified file had not yet been written to disk. Hence the FTP command found the old file content and copied that.
Note that "the editor" (probably vi) does not write the modified file to the named file unless/until you explicitly or implicitly say so. During the edit session, everything is kept in temporary files. When the editor 'crashes', the temporary files are kept and the expreserve command (in /sbin/init.d/clean_ex) performs the recovery actions you encountered (see "crash" and "preserve" in the ex(1) manual page).
It looks like, whether you realized this or not, when you did the FTP, the editor was still running and the modified file had not yet been written to disk. Hence the FTP command found the old file content and copied that.
Note that "the editor" (probably vi) does not write the modified file to the named file unless/until you explicitly or implicitly say so. During the edit session, everything is kept in temporary files. When the editor 'crashes', the temporary files are kept and the expreserve command (in /sbin/init.d/clean_ex) performs the recovery actions you encountered (see "crash" and "preserve" in the ex(1) manual page).
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