Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

FTP batch started by vb dll hangs after 400-500 files

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Use MMC from W2K PC to manage IIS6  
Author Message
user1062

External


Since: Nov 10, 2003
Posts: 1



(Msg. 1) Posted: Mon Nov 10, 2003 7:24 am
Post subject: FTP batch started by vb dll hangs after 400-500 files
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 -sVery Happy:\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.

 >> Stay informed about: FTP batch started by vb dll hangs after 400-500 files 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Tue Nov 11, 2003 12:00 am
Post subject: Re: FTP batch started by vb dll hangs after 400-500 files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 -sVery Happy:\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.

 >> Stay informed about: FTP batch started by vb dll hangs after 400-500 files 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]