+ Reply to Thread
Results 1 to 2 of 2

Downloadfile Function no longer works

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    Dallas, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Downloadfile Function no longer works

    I am trying to download a PDF file from a website but the link that I am trying to download the PDF from gves me the download box right away.

    the URL of the PDF file used to be where you can view it as a pdf file on the web but now when you go to the url, you get the download box right away. Anyways the url is "http://evoid.evomarkets.com/printpdf/market/11/product/20/" in which the URL used to be "http://evoid.evomarkets.com/printpdf/market/11/product/20/Quote1.pdf"

    The command i have that no longer works is below(I keep getting a fasle)

    Debug.Print DownloadFile("http://evoid.evomarkets.com/printpdf/market/11/product/20/" , "C:\BrokerQuotes\test1.pdf")

    Does anyone know how to automatically save the PDF file if the URL sends me straight to the download file box?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Downloadfile Function no longer works

    Hello aqpham3,

    Welcome to the Forum!

    The site is restricted and the general public has no access. It might be possible to provide a workaround if you post the site's page source text. The site is restricted and the general public has no access.

    To Post the Page Source text File
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

    File Manger Picture
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1