Giter VIP home page Giter VIP logo

nsis-nsxfer's Introduction

NSxfer (NSIS plugin)

NSxfer gives you the means to perform complex HTTP/HTTPS transfers from a NSIS script

License: zlib/libpng Latest Release Downloads GitHub issues

Features:

  • Multi threaded: transfer multiple files in parallel
  • Asynchronous: start a download now, check its status later
  • Aggressive: multiple attempts to connect, reconnect, resume interrupted transfers, etc.
  • NSIS aware: download files at any installation stage (from .onInit callback, from Sections, from custom pages, silent installers, etc.)
  • Informative: plenty of useful information is available for each transfer (size, speed, HTTP status, HTTP headers, etc)
  • Supports all relevant HTTP verbs (GET, POST, PUT, HEAD, etc)
  • Supports custom HTTP headers and data
  • Supports proxy servers (both authenticated and open)
  • Supports files larger than 4GB
  • Can download remote content to RAM instead of a file
  • Works well in 64-bit NSIS builds
  • Many more... Check out the included readme file

Basic usage:

  • HTTP GET example:
NSxfer::Transfer /URL "https://httpbin.org/get?param1=1&param2=2" /LOCAL "$TEMP\Response.json" /END
Pop $0  ; "OK" for success
  • HTTP POST application/json:
NSxfer::Transfer /URL "https://httpbin.org/post?param1=1&param2=2" /LOCAL "$TEMP\MyFile.json" /METHOD POST /DATA '{"number_of_the_beast" : 666}' /HEADERS "Content-Type: application/json" /END
Pop $0  ; "OK" for success
  • HTTP POST application/x-www-form-urlencoded:
NSxfer::Transfer /URL "https://httpbin.org/post?param1=1&param2=2" /LOCAL "$TEMP\MyFile.json" /METHOD POST /DATA 'User=My+User&Pass=My+Pass' /HEADERS "Content-Type: application/x-www-form-urlencoded" /END
Pop $0  ; "OK" for success

nsis-nsxfer's People

Contributors

kirb avatar negrutiu avatar renodr avatar

Watchers

 avatar

Forkers

renodr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.