PC Review


Reply
Thread Tools Rate Thread

Copy a file from website

 
 
Bonnie
Guest
Posts: n/a
 
      3rd Feb 2008
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
 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      3rd Feb 2008
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.


--
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression


"Bonnie" <(E-Mail Removed)> wrote in message
newsF29F190-BC72-45F6-9AE5-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Bonnie
Guest
Posts: n/a
 
      3rd Feb 2008
Brilliant - wish I'd thought of that. Makes perfect sense now.

Thanks Mark.

"Mark Fitzpatrick" wrote:

> 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.
>
>
> --
> Hope this helps,
> Mark Fitzpatrick
> Microsoft MVP - Expression
>
>
> "Bonnie" <(E-Mail Removed)> wrote in message
> newsF29F190-BC72-45F6-9AE5-(E-Mail Removed)...
> > 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

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy File from Website (Sharepoint) J Streger Microsoft Excel Programming 5 19th Jun 2008 09:10 PM
How to Copy Website hon123456 Microsoft VB .NET 0 10th Dec 2007 08:46 AM
Faster and more efficient ways to copy website content from VS.NET interface (besides the "Copy Website" tool?) Microsoft ASP .NET 4 27th Aug 2007 10:52 AM
copy website =?Utf-8?B?TWFyaw==?= Microsoft Frontpage 2 13th Jan 2005 10:28 AM
Cannot copy a pdf file 1800 kb - onto the remote website =?Utf-8?B?U0VRbGQgR3JvdXA=?= Microsoft Frontpage 2 3rd Jan 2005 03:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:25 AM.