Created
February 19, 2015 18:00
-
-
Save mnp/e6a054e46d9b246ad734 to your computer and use it in GitHub Desktop.
Ask Brother for download link to ADS-1500W scanner firmware. An XML response will be sent back.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| URL=http://update.brother.co.jp/KNE_bh7_update_nt/ifax2.asmx/fileUpdate | |
| cat <<EOF | curl -v --data-ascii @- -X POST -H "Content-Type:text/xml" $URL | |
| <?xml version="1.0" encoding="UTF-8" ?><REQUESTINFO><FIRMUPDATETOOLINFO><FIRMCATEGORY>MAIN</FIRMCATEGORY><OS>WIN_NATIVE</OS><INSPECTMODE>1</INSPECTMODE></FIRMUPDATETOOLINFO><FIRMUPDATEINFO><MODELINFO><SELIALNO>U63595B4G999999</SELIALNO><NAME>ADS-1500W</NAME><SPEC>0001</SPEC><DRIVER>EWS</DRIVER><FIRMINFO><FIRM><ID>FIRM</ID><VERSION>D1406061056:0D75</VERSION></FIRM></FIRMINFO></MODELINFO><DRIVERCNT>1</DRIVERCNT><LOGNO>2</LOGNO><NEEDRESPONSE>1</NEEDRESPONSE></FIRMUPDATEINFO></REQUESTINFO> | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment