Opened 8 years ago
Last modified 6 years ago
#17044 new defect
Doing network copy from shared folder does not transfer file correctly: wrong md5sum
Reported by: | dry | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 5.1.26 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
When I copy file from shared folder to remote target with scp, scp exists with success 0, yet the md5sum on the remote target is different from the source. Coping / scp'ing the same file from non-shared folder within same Vm works correctly: same md5sum on remote target. Scp transfers different file sizes in the two cases.
E.g. md5sum /media/sf_dloads/dhnc_m4_fw.tar.bz2
403f9fe21ed74762923d3d7c2087d62a /media/sf_dloads/dhnc_m4_fw.tar.bz2
md5sum dhnc_m4_fw.tar.bz2
403f9fe21ed74762923d3d7c2087d62a dhnc_m4_fw.tar.bz2
scp -v /media/sf_dloads/test/dhnc_m4_fw.tar.bz2 [email protected]:/tmp/
..... Transferred: sent 455796, received 1796 bytes, in 1.2 seconds Bytes per second: sent 367895.7, received 1449.6 debug1: Exit status 0
on target:
md5sum /tmp/dhnc_m4_fw.tar.bz2
ed67bef761dbfb2b35f62510b2c930c5 /tmp/dhnc_m4_fw.tar.bz2
scp -v dhnc_m4_fw.tar.bz2 [email protected]:/tmp/
..... Transferred: sent 456788, received 1856 bytes, in 1.6 seconds Bytes per second: sent 291460.5, received 1184.2 debug1: Exit status 0
on target:
md5sum /tmp/dhnc_m4_fw.tar.bz2
403f9fe21ed74762923d3d7c2087d62a /tmp/dhnc_m4_fw.tar.bz2
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 6 years ago
This is over 2 years old, and likely outdated or fixed (I haven't tested).
I don't know how to close this ticket
Correction: