FlashFXP Forums

FlashFXP Forums (https://oss.azurewebsites.net/forum/)
-   ioFTPD General (https://oss.azurewebsites.net/forum/ioftpd/ioftpd/ioftpd-beta/ioftpd-general/)
-   -   mount problem (https://oss.azurewebsites.net/forum/ioftpd/ioftpd/ioftpd-beta/ioftpd-general/11164-mount-problem.html)

sdec040721 01-20-2006 09:24 PM

mount problem
 
I do with FAQ

Q: How can I use Windows shares in ioFTPD ?
A: Windows shares are specific to Windows sessions.
This means that if you start ioFTPD as a service, you need the either mount your shares from within ioFTPD, or run ioFTPD service with 'Allow service to interact with Desktop' checkbox checked (in your Control Panel > Administrative Tools > Services panel).

A solution would be to create a .bat file that mount your shares using NET USE, and start that batch file OnFtpLogIn:

OnFtpLogIn = EXEC ..scriptsmount_shares.bat

mount_shares.bat:
@ECHO OFF
NET USE P: \\192.168.0.10\c$ passwd123 /user:domain1\username1
NET USE Q: \\192.168.0.11\c$ passwd111 /user:domain1\username2

You can then safely use P: and Q: in your .vfs files.

but it does not work, i can't see any mistakes. wo can login my ftp, but can't see run the .bat file

i can't see ioftpd run .bat file

it mean .bat does not run

why?

i think OnFtpLogIn is wrong , but i can't find right one

my ioftpd: 5.8.7r
system : winxp sp2

who can help me? thanks very much!

cr4y 01-21-2006 04:33 PM

first of all there's an error in the net use statement ;-) i don't think it works that way
Code:

net use z: \\server\share /u:MyDomain\MyUser MyPassword
If it still doesn't work remove the
Code:

@ECHO OFF
line so you'll see there errors in the login message. Probably you have to put the %SystemRoot%\System32\net.exe to the ioFTPD system directory
Code:

[Events]
OnFtpLogIn = EXEC ..\scripts\mount_shares.bat

were you missing the \ ? ^^

bye =)

Mr_X 01-21-2006 05:22 PM

Quote:

Originally Posted by cr4y
If it still doesn't work remove the
Code:

@ECHO OFF
line so you'll see there errors in the login message.

echo off just doesn't show the commands that are run

cr4y 01-21-2006 06:06 PM

ok but i don't see the output too Oo

sdec040721 01-22-2006 09:12 AM

yes , i don't see the output too.

i think OnFtpLogIn do not work

i think OnFtpLogIn is not the right word

i want to know the right word , i had found it in this bbs before, but now i can't find

who can solve this problem

cr4y 01-22-2006 09:21 AM

i'm using ioftpd v5.8.6r and it's working fine =/

sdec040721 01-24-2006 06:31 PM

it can't work too

can you upload your ioftpd.ini ?

3x

JoC 01-25-2006 01:26 AM

sdec040721 and cr4y you need to update your forum profile so it shows that you have a registered version of io.

sdec040721 01-25-2006 05:43 AM

Quote:

Originally Posted by JoC
sdec040721 and cr4y you need to update your forum profile so it shows that you have a registered version of io.

i forget to say

my ioftpd is unregistered

i want to test ioftpd first

unregistered ioftpd is not use OnFtpLogIn ?

JoC 01-25-2006 08:22 AM

If you are unregistered you can't run 5.8.7r as you stated in your intial post, what you should be running is 5.8.4u.
OnFtpLogIn should work fine on the unregistered version.

sdec040721 01-25-2006 06:27 PM

o , yes

it is 5.8.4

OnFtpLogIn is work fine

but i have another question

if file is not exist, OnFtpLogIn is not work ? really?

i see another event can prompt if the file not exist

i see that event in this bbs

who know about it?

i want to get that event

Mouton 01-25-2006 10:21 PM

Very obviously using the 'cracked' version. Bye.


All times are GMT -5. The time now is 03:36 PM.

Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)