Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 01-20-2006, 09:24 PM   #1
sdec040721
Banned
 
Join Date: Nov 2005
Posts: 7
Unhappy 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!
sdec040721 is offline  
Old 01-21-2006, 04:33 PM   #2
cr4y
Junior Member
 
Join Date: Jan 2006
Posts: 3
Default

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 =)
cr4y is offline  
Old 01-21-2006, 05:22 PM   #3
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

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
Mr_X is offline  
Old 01-21-2006, 06:06 PM   #4
cr4y
Junior Member
 
Join Date: Jan 2006
Posts: 3
Default

ok but i don't see the output too Oo
cr4y is offline  
Old 01-22-2006, 09:12 AM   #5
sdec040721
Banned
 
Join Date: Nov 2005
Posts: 7
Default

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
sdec040721 is offline  
Old 01-22-2006, 09:21 AM   #6
cr4y
Junior Member
 
Join Date: Jan 2006
Posts: 3
Default

i'm using ioftpd v5.8.6r and it's working fine =/
cr4y is offline  
Old 01-24-2006, 06:31 PM   #7
sdec040721
Banned
 
Join Date: Nov 2005
Posts: 7
Default

it can't work too

can you upload your ioftpd.ini ?

3x
sdec040721 is offline  
Old 01-25-2006, 01:26 AM   #8
JoC
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 76
Default

sdec040721 and cr4y you need to update your forum profile so it shows that you have a registered version of io.
JoC is offline  
Old 01-25-2006, 05:43 AM   #9
sdec040721
Banned
 
Join Date: Nov 2005
Posts: 7
Default

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 ?
sdec040721 is offline  
Old 01-25-2006, 08:22 AM   #10
JoC
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 76
Default

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.
JoC is offline  
Old 01-25-2006, 06:27 PM   #11
sdec040721
Banned
 
Join Date: Nov 2005
Posts: 7
Default

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
sdec040721 is offline  
Old 01-25-2006, 10:21 PM   #12
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Very obviously using the 'cracked' version. Bye.
Mouton is offline  
Closed Thread

Tags
.bat, ftp, ioftpd, run, shares

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


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

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)