Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 does slimFTPD work with network drives?
Google
Post new topic Reply to topic
Author Message
procwill
 
 


Joined: 24 Jun 2005
Posts: 6

PostPosted: Fri Jun 24, 2005 5:18 pm Reply with quoteBack to top

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!
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jun 24, 2005 5:23 pm Reply with quoteBack to top

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
View user's profileSend private messageYahoo MessengerICQ Number
procwill
 
 


Joined: 24 Jun 2005
Posts: 6

PostPosted: Fri Jun 24, 2005 5:26 pm Reply with quoteBack to top

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.
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jun 24, 2005 5:39 pm Reply with quoteBack to top

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).
View user's profileSend private messageYahoo MessengerICQ Number
procwill
 
 


Joined: 24 Jun 2005
Posts: 6

PostPosted: Fri Jun 24, 2005 6:16 pm Reply with quoteBack to top

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.
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jun 24, 2005 6:33 pm Reply with quoteBack to top

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"
View user's profileSend private messageYahoo MessengerICQ Number
procwill
 
 


Joined: 24 Jun 2005
Posts: 6

PostPosted: Fri Jun 24, 2005 6:39 pm Reply with quoteBack to top

Tried replacing \ with \\.

From the slimftpd.conf file:

<User "testnet">
Password "testnet"
Mount / W:\\testslimftp\\
Allow / List
Allow / write
</User>

What's yours like?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jun 24, 2005 6:44 pm Reply with quoteBack to top

Network Folder:

Code:
<User "test">
   Password "NetworkFolder"
   Mount / "\\\\server_1\\Downloads"
   Allow / All
</User>


For local folders:

Code:
Mount / C:\apache2triad\ftp
View user's profileSend private messageYahoo MessengerICQ Number
procwill
 
 


Joined: 24 Jun 2005
Posts: 6

PostPosted: Fri Jun 24, 2005 7:17 pm Reply with quoteBack to top

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...
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jun 24, 2005 7:25 pm Reply with quoteBack to top

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.
View user's profileSend private messageYahoo MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT