sdec040721
01-20-2006, 08:41 PM
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? :confused:
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!
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? :confused:
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!