LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Transferring files from Samba shares (https://www.linuxquestions.org/questions/linux-software-2/transferring-files-from-samba-shares-37596/)

raypen 12-07-2002 03:38 PM

Transferring files from Samba shares
 
I am having trouble with completing file transfers from
shares on a Samba server to a Win95 machine. Below is
an Samba log extract of pertinent info relating to a
completed and an aborted transfer :

This one completed:

[2002/12/07 14:05:00, 3] smbd/reply.c:reply_getatr(1213)
getatr name=hp3100-Sambalog.txt mode=0 size=21022

readbraw fnum=7203 start=0 max=21022 min=0 nread=21022
[2002/12/07 14:05:00, 3] smbd/process.c:process_smb(831)
Transaction 62 of length 39
[2002/12/07 14:05:00, 3] smbd/process.c:switch_message(650)
switch message SMBtdis (pid 266)

This one didn't:

[2002/12/07 14:05:00, 3] smbd/reply.c:reply_getatr(1213)
getatr name=bookmark.htm mode=32 size=128493

readbraw fnum=5754 start=0 max=65520 min=0 nread=65520
[2002/12/07 14:05:00, 0] lib/util_sock.c:write_data(510)
write_data: write failure. Error = Connection reset by peer
[2002/12/07 14:05:00, 3] smbd/process.c:timeout_processing(1055)
end of file from client

Of note are the differences in "mode" and "size".

I have no idea why the larger file would result in an aborted
transfer; I have never had this trouble before.

The Win95 machine had to have its NIC replaced recently by a
NetGear EA201, but is the only hardware related issue. When
interconnecting with a Win2K system everything seems to work
alright just a little slower than before.

The Win95 machine has been updated with:

Winsock2 (W95ws2setup.exe)
VTCP386
VIPUP20
VRDRUPD
RPCRTUPD

and the Default Receive Window has been enlarged to 256960
and other adjustments with Cablenut on Win95 and with
recommended Speedguide adjustments in Linux.

Can anyone tell me why these larger file transfers are aborting?

raypen 12-08-2002 05:11 PM

I'm not sure why, but while playing around with deleting files from
a Samba share, I noticed that the directory had the sticky bit set.
After unsetting, I could remove files in that Linux direcory from the
Win95 machine as was expected.

However, I also tried to transfer the same file from this directory to
the Win95 machine that aborted the day before and this time it
worked, although the file transfer was slow. I don't understand why
the sticky bit should affect transfers this way. Nothing else was changed.

Would welcome any decent explanation.


All times are GMT -5. The time now is 02:21 AM.