VirtualBox

Ticket #5667 (new defect)

Opened 4 years ago

downloading files via scp in linux guest to shared folders fails for some files with Protocoll error

Reported by: tarp Owned by:
Priority: minor Component: shared folders
Version: VirtualBox 3.0.12 Keywords: shared folder, linux guest, scp fails
Cc: Guest type: Linux
Host type: Windows

Description

Hi,

If transferring (mainly) huge files via scp from an external machine to a shared folder in Linux guest results for some files (not all) reproducable in a Protocol error on scp and the resulting file is corrupt afterwards:

test@virtualbox:~/SharedFolder$ scp storage:test.tar.gz .
test.tar.gz                                                                                                                               100%   16MB 458.7KB/s   00:36
./test.tar.gz: Protocol error

test@virtualbox:~/SharedFolder$ ls -lsh
insgesamt 15M
15M -rwxrwxrwx 1 test test 15M 2009-12-04 17:43 test.tar.gz

When running the same scp with same file in a not shared folder, the resulting files are in a fine state:

test@virtualbox:/tmp$ scp storage:test.tar.gz .
test.tar.gz                                                                                                                               100%   16MB 458.7KB/s   00:36
test@virtualbox:/tmp$ ls -lsh
insgesamt 17M
 17M -rw-r--r-- 1 test test  17M 2009-12-04 17:57 test.tar.gz

The strange thing is that this problem does not occur for all files. But if you have a affected file, this is reproducable all the time. Till now I only have the feeling, that the chance to run into this problem is higher in case the transferred file is huge (several MB). For files of only a few KB I have not encountered this problem yet.

Attachments

VBox.log Download (43.2 KB) - added by tarp 4 years ago.
VBox.log

Change History

Changed 4 years ago by tarp

VBox.log

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use