Groups | Blog | Home
all groups > iis ftp > november 2004 >

iis ftp : Search subdirectories



HJ
11/19/2004 6:36:55 PM
Hi all,

I have written a .vbs script that mirrors a website to my computer via FTP.
In order to search subdirectories (and sub-subdirectories etc.) I now
retrieve the main directory contents, search for DIR entries and then create
a new FTP script to look into the DIR. And so on.

It works, but it means that for each subdirectory I need to log on to the
FTP server again. So with 10 subdirectories, the .vbs script needs to log on
11 times (10 subdirectores and 1 for the root directory).

Is there a way to stay logged on to the FTP server and then keep sending FTP
commands as needed?

Thanks in advance,

HJ

jeff.nospam NO[at]SPAM zina.com
11/19/2004 8:14:11 PM
On Fri, 19 Nov 2004 18:36:55 +0100, "HJ" <hjiscoolno@spamhotmail.com>
[quoted text, click to view]

Don't close the connection. :)

AddThis Social Bookmark Button