Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba short read error on "get" binary file

Status
Not open for further replies.

fdf

MIS
Jul 30, 2003
38
US
We are running Samba Version 2.2.5 on SCO Open Server V with 17 client PC's doing file transfers (put and get) back and forth. We are baffled with the following samba problem:

1. Error only occurs on 1 of 17 client machines
2. Error only occurs on "get" command; "put" and "dir"
commands work fine on that machine
3. Error only occurs for binary files; text files with
identical names and sizes work fine
4. smbclient "get" command for a binary file fails with:
Short read when getting file \\abs\absrel\xxx.
Only got 0 bytes

The "get" command:

smbclient //POS111/POS111 -UPOS111/POS111% -c "get \xxx xxx"

The result:

added interface ip=192.168.141.1 bcast=192.168.141.255 nmask=255.255.255.0
added interface ip=192.168.141.2 bcast=192.168.141.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
getting file xxx of size 512 as xxx
Short read when getting file \\abs\absrel\xxx.
Only got 0 bytes.
Error SUCCESS - 0 closing remote file
(0.0 kb/s) (average 0.0 kb/s)

Ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top