If you just want to call FTP a bunch of times, try writing an ASP page or a
BAT script instead of a VB DLL. You'll be less likely to hang yourself
because of how unfriendly VB is to server-side usage unless you set VB
compilation flags properly.
Otherwise, try running IIS State and see what is going on:
http://www.iisfaq.com/default.aspx?view=P197
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Bernhard Sollfrank" <b.sollfrank.DeleteThis@ac-multimedia.de> wrote in message
news:08ab01c3a785$96d44ad0$a101280a@phx.gbl...
Hello,
i have to start a batch process from a dll to transfer
files created by this dll to remote ftp server. I created
a batch file:
ftp -n -v -i -s

:\batch\ftpcmds.txt ftp-server
and a file containing the ftp commands:
user username password
lcd D:\batch\media
mput *.*
quit
It works pefectly when i start it from the dosbox. But
when i call it from the vb dll implemented in IIS (shell
("D:\batch\transfer.bat")), it does not complete the
transfer and hangs after 400-500 (small) files.
Anyone an idea? Any help would be greatly appreciated!
Bernhard.