| View previous topic :: View next topic |
| Author |
Message |
procwill
Joined: 24 Jun 2005
Posts: 6
|
| Posted: Fri Jun 24, 2005 5:18 pm Post subject: does slimFTPD work with network drives? |
|
|
The documentation states "This allows you to have multiple local drives", however, I really need it to write/read to a network drive directly.
Is this possible, if so, how?
thanks! |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Fri Jun 24, 2005 5:23 pm Post subject: |
|
|
The easiest way I can think of would be to map the network drive to a drive letter. Then windows will treat it as though it were a local disk.
http://support.microsoft.com/default.aspx?scid=kb;en-us;308582 |
|
| Back to top |
|
procwill
Joined: 24 Jun 2005
Posts: 6
|
| Posted: Fri Jun 24, 2005 5:26 pm Post subject: |
|
|
| Thanks for the suggestion, however, already tried that and that does not work. also tried SUBSTituting a mapped drived letter for a typical local drive letter (like drive D) and that did not work either. |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Fri Jun 24, 2005 5:39 pm Post subject: |
|
|
I've not had a mapped network drive not operate like a local one, unless there was a permissions problem on the host computer. You might check out what users are allowed read/write permission. Keep in mind slimftpd runs under its own limited account.
The only other thing is try just using the network address itself (If you haven't already). |
|
| Back to top |
|
procwill
Joined: 24 Jun 2005
Posts: 6
|
| Posted: Fri Jun 24, 2005 6:16 pm Post subject: |
|
|
Thanks again for your responses!
Yes, my experience has been that the network drives act just like local drives, too. however, slimFTPD will not "start" if a network drive is "mount"ed.
The permissions on the network drives are full (read, write, delete).
Just tried using the \\server\share prefix instead of the drive letter. Still no dice. |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Fri Jun 24, 2005 6:33 pm Post subject: |
|
|
I just tested to see if I could mount a network drive, and was successful, but I had to add the escape character for every backslash.
E.G.
"\\server\share"
became
"\\\\server\\share" |
|
| Back to top |
|
procwill
Joined: 24 Jun 2005
Posts: 6
|
| Posted: Fri Jun 24, 2005 6:39 pm Post subject: |
|
|
Tried replacing \ with \\.
From the slimftpd.conf file:
<User "testnet">
Password "testnet"
Mount / W:\\testslimftp\\
Allow / List
Allow / write
</User>
What's yours like? |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Fri Jun 24, 2005 6:44 pm Post subject: |
|
|
Network Folder:
Code: <User "test">
Password "NetworkFolder"
Mount / "\\\\server_1\\Downloads"
Allow / All
</User>
For local folders:
Code: Mount / C:\apache2triad\ftp |
|
| Back to top |
|
procwill
Joined: 24 Jun 2005
Posts: 6
|
| Posted: Fri Jun 24, 2005 7:17 pm Post subject: |
|
|
Hey, I really appreciate all you time and suggestions!
my computer and your computer must be set up different somehow, because it will not work using your syntax on my computer.
So, again, no dice... |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Fri Jun 24, 2005 7:25 pm Post subject: |
|
|
It may boil down to using double-quotes:
Quote: # You may refer to the following example of a user account setup. Note that
# backslashes must be escaped for proper interpretation by the script parser
# only when they occur in a double-quoted string. For example, C:\ is legal,
# but "C:\" is not legal. Use "C:\\" instead.
For the mapped network drive in your example should be:
Code:
Mount / W:\testslimftp
My example had to be escaped out because it was in quotes.
Anyways, I hope you get it working. |
|
| Back to top |
|
| |