Copy a file from website

B

Bonnie

Hi,

I am a web neofite (do a lot of vba and Access) - I would like to put a
button or click on a page that would copy a file or files from the website to
a local folder, overwriting if an existing file of the same name. Does
anyone know if or how I can do this?

Thanks in advance,

Bonnie
 
M

Mark Fitzpatrick

You can't copy a file or files, that's not allowed since you don't have
programmatic access to the file system on a clients computer. What you want
though, is fairly simple. Jus tput the file into your web using File |
Import File, then make a link to it. This works best though if the file is
in a zip file, that way the browser won't try to open and display it as it
does with some documents (IE will try to open word, exel or other office
documents since it knows what to do with them). Putting multiple files into
a .zip is also the only wayt to get it so that a user can download multiple
files with one mouse click.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top