urldownloadto API on mac

Discussion in 'Mac Apps and Mac App Store' started by luist3k, Aug 24, 2011.

  1. luist3k, Aug 24, 2011
    Last edited: Aug 24, 2011

    luist3k macrumors newbie

    Joined:
    Aug 24, 2011
    #1
    Hi!

    I recently moved from Windows to Mac for the first time ever. It has been great so far (got a MBA 11'' 128 GB etc.), but today I tried to test an Excel's macro I used in Windows and it didn't work.

    I modified the code to try to adapt it to Lion but had a problem with this URLDOWNLOADTO API. In Windows it calls urlmon.dll but I don't know what to call in Lion! :confused:

    Please, I would appreciate any help!

    Ps. What the macro does is to download a series of files from internet.
     
  2. Tutorer macrumors member

    Joined:
    Jun 9, 2011
    #2
    Curl is a command line program that comes with OS X that seems to fit. Either do a man curl in Terminal or look here.
     
  3. luist3k thread starter macrumors newbie

    Joined:
    Aug 24, 2011
    #3
    Thanks!

    It seems that I only need to call this process from the MACRO!

    Kudos 2 U ! :cool:
     

Share This Page