Menu

#4 SCP fails to copy files with size 0

open
ClemDogU
None
5
2008-01-31
2008-01-14
Anonymous
No

SCP fails to copy files with length 0, such as the files in the /proc filesystem

It seems the offending code is in the SCP_ReceiveFile(,,,) function as the filesize is used as the size of the read call.

Discussion

  • ClemDogU

    ClemDogU - 2008-01-31
    • assigned_to: nobody --> clemdogu
     
  • ClemDogU

    ClemDogU - 2008-02-09

    Logged In: YES
    user_id=1114878
    Originator: NO

    This looks like it was fixed by Tamir in IO.cs. I did a put and a get using and zero length file and didn't get an exception. I should be releasing something soon. If you can't pull the source and recompile let me know.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.