DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Download Save File

  1. #1
    Join Date
    May 2004
    Posts
    242

    Download Save File

    Hello,

    I have web site which has on it Excel file. When I manually click on the file, I'm getting a Dialog box asking me whether I want to Open, Save As, Cancel.

    Is there a way to do this programatically. I can connect to the site and find the URL, but need to a way to download the file onto my local machine, obviosuly without presenting the Dialog box question (but just always download the file).

    MFC is ok to use.

    Can anyone please help ?

    Many thanks.
    Last edited by ami; 11-26-2008 at 03:48 AM.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    See: "URL Downloader" here.

  3. #3
    Join Date
    Apr 2008
    Posts
    17
    Quote Originally Posted by Hack View Post
    See: "URL Downloader" here.
    No, it's Bullshit.
    Use win32 api : 1 line of code !

  4. #4
    Join Date
    Nov 2003
    Posts
    4,118
    Quote Originally Posted by jeff75 View Post
    Use win32 api : 1 line of code !
    In that case, would you be kind enough to post that single line here?
    Danny Kalev

  5. #5
    Join Date
    May 2007
    Posts
    843
    Please post the one line code to here.

Similar Threads

  1. Help: Using sockets to download a file.
    By elamey in forum .NET
    Replies: 3
    Last Post: 07-02-2008, 07:44 PM
  2. Replies: 7
    Last Post: 03-07-2006, 05:34 PM
  3. Save figure table to Excel file
    By Mahendra Gunawan in forum VB Classic
    Replies: 1
    Last Post: 05-02-2001, 07:55 AM
  4. download attached file to my local PC
    By jeri in forum Enterprise
    Replies: 0
    Last Post: 02-27-2001, 03:15 AM
  5. file download dialog
    By Dan in forum Web
    Replies: 0
    Last Post: 11-27-2000, 01:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center