Download a file from the menu

1 posts, 0 answers
  1. Oughs
    Oughs avatar
    1 posts
    Member since:
    Sep 2012

    Posted 26 Sep 2012 Link to this post

    I'd like to let my visitor download a file directly from the menu but i've no idea how i can code this.
    I tried it with WebClient (namespace = System.Web)...

    WebClient client = new WebClient();
    client.DownloadFile(file, name + ".zip")

    ...but without any success. So how can I get a download link in my menu?
Back to Top