[bug #19735] \\hostname\share not shared in win32

spiralvoice <[email protected]>
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
Follow-up Comment #3, bug #19735 (project mldonkey):

Can you add a "/" to the share name, so use

//hostname/share/test/

instead of

//hostname/share/test

Does it work then?

The reason:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getvolumeinformation.asp
"A trailing backslash is required. For example, you specify
\\MyServer\MyShare as \\MyServer\MyShare\, or the C drive as "C:\"."

Do not worry about the backslash in the MS description, its
translated to a slash in MinGW. But the trailing slash is required:

mldonkey-command line > debug_disk /host/share
exception [stat failed on /host/share: No such file or directory]

mldonkey-command line > debug_disk /host/share/
working on dir /host/share/
bsize 512
blocks 8322945
bfree 8322945
...

If this works for you I will try to update the "shares" command
to add a trailing slash when displaying filesystem data.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19735>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.