469,927 Members | 1,887 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

FTP batch called by ISS dll hangs after 300-500 files

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:D:\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.
Jul 19 '05 #1
1 4000
Try piping your FTP session to an output file to see if you can follow
what's happening.

ftp -n -v -i -s:D:\batch\ftpcmds.txt ftp-server>D:\ftp.log

and/or

Dump each step to the file. IE
user username password * D:\ste1.txt
lcd D:\batch\media * D:\step2.txt
mput *.* * D:\step3.txt

Ray at work


"Bernhard Sollfrank" <b.*********@ac-multimedia.de> wrote in message
news:03****************************@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:D:\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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Serge | last post: by
1 post views Thread by smen | last post: by
2 posts views Thread by brian.gabriel | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.