• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Really odd FTP issue

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by NickFitz View Post

    It sounds like the destination file is being opened for writing, but never closed. That would leave it hanging and presumably the OS would eventually close the open file handle but without any awareness of what had been done to it. This could, in theory, leave the content on disk having been overwritten but the file descriptor not having been told the new length of the file. Then the file would have the new content at the start but have the same length as the old file from the point of view of whatever reads it.
    I've never seen UNIX doing anything like this but I guess you never know.

    As an experiment, I would try the same FTP transfers (small text file overwriting large text file) from the UNIX server to itself (ie. using the UNIX FTP client). This would take the Windows side of things out of the equation altogether.
    Last edited by woody1; 13 July 2024, 08:03.

    Comment

    Working...
    X