Jump to content

Search the Community

Showing results for tags 'inetget()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi. Eric Ligman posted tens of free Microsoft Books again: Article A list of download URLs to get all the books is available here I saved that one (holding the URLs only) to "c:\temp\MS-free-books.txt" Some of the listed download URLs: http://ligman.me/1IW1oab http://ligman.me/1IW1s9S http://ligman.me/1JIhgjA http://ligman.me/1NDTZR4 http://ligman.me/1H4VXHT [snip]When I open these URLs one by one in a browser, I receive a "default name", mentioned in the "Save to..." box automatically. Howto use this "default name", when downloading the stuff using autoit? inetget() expects the "full-path-file-name" for the URL to be downloaded to. So this code ends up with useless filenames without extensions: #include <array.au3> #include <file.au3> $BookList="c:\temp\MS-free-books.txt" Dim $aBookList _FileReadToArray($BookList,$aBookList) _ArrayDisplay($aBookList) $ToFolder="C:\temp\MicrosoftFreeBooks" DirCreate($ToFolder) for $i = 1 to $aBookList[0] InetGet($aBookList[$i],$ToFolder & "\" & StringTrimLeft($aBookList[$i],StringInStr($aBookList[$i],"/",0,-1)),0,1) Next Maybe a different function (that I miss) is what I need? Any suggestions appreciated. Regards, Rudi.
×
×
  • Create New...