Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-07-2002, 03:38 PM   #1
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
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.crocess_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)

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?
Old 12-08-2002, 05:11 PM   #2
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Problem: Fedora crashes when transferring large files TheLizard Linux - Networking 6 05-08-2005 04:19 AM
Opening Files through shares on Samba hollovoid7 SUSE / openSUSE 2 11-21-2004 12:39 PM
network stalls transferring large files (especially over samba) Mugatu Linux - Networking 4 02-15-2004 06:37 PM
MDK 9.2 stalling transferring files from samba share servo_fan Mandriva 8 02-12-2004 06:22 PM
Why can't I see the files in the directories on my Samba-Shares? Asuka Tabi Linux - Software 1 06-21-2001 01:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration