Jump to content
Sign in to follow this  

Coping multiple files from one directory to another

Recommended Posts


OK, I just can't figure it out. Maybe someone has a solution I can't find.

I'm trying to update my local web server with the files from the McAfee ftp site (ftp://ftp.nai.com/commonupdater/)

I've been working on a way to copy all of these files to my local Mcafee web server so my clients can update from the web server instead of having each client visit the ftp site.

What I'd like to do is copy the files and directories from ftp://ftp.nai.com/commonupdater/ to D:\Inetpub\ftproot\deadend\mcafee7

Anyone have a solution I haven't been able to find?

Share this post

Link to post
Share on other sites

Congrats! On your first post!

My names swift...hope I can help you :)

InetGet() and get every file...download it to your directory...im busy...but ill give you an example soon...but check out InetGet()

In that link...right click the file...and press Copy Shortcut...this will get where it is...then use

Example: this is the first one in the link you gave me.

Opt(FtpBinaryMode, 1)
InetGet("ftp://ftp.nai.com/commonupdater/52205221.upd", "D:\Inetpub\ftproot\deadend\mcafee7\52205221.upd")

Add InetGet("link", "location") of each of the files on that page...and it will download basically FileCopy them... :) hope it helps...

See how that works?

--Back to R&C - ToD

Edited by Swift

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this