> then i open the jpg files one by one in binary mode,
This is simple in VB, because it supports binary I/O! ASP does not. If you
mean you just want to put the names of the files into the file, then you can
use FSO, but if you want to put the binary content, that will be a different
issue. Maybe ADODB.Stream can do something like that for you, or maybe you
should have a VB executable that runs from the scheduler, and the ASP script
that is supposed to perform the task merely adds the task to a queue, that
the EXE checks.
--
http://www.aspfaq.com/
(Reverse address to reply.)