Changes between Version 24 and Version 25 of Docs/Prog/Manual/DeviceSupport/Network


Ignore:
Timestamp:
09/04/19 10:34:54 (5 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/DeviceSupport/Network

    v24 v25  
    488488
    489489{{{
    490 rem - Batch file to upload a file from a PC to an 825 using the 825 web server and Windows 10 cURL
    491 set user=ADMIN
    492 set password=*****
    493 set ip=10.1.0.179
    494 set filename=C:\testfile5.txt
    495 set dir825=/mnt/nand/apps/
     490rem - send825file.bat Batch file to upload a file from a PC to an 825 using the 825 web server and Windows 10 cURL
     491rem - example: send825file.bat 10.1.0.179 c:\testfile6.txt /mnt/nand/apps/ ADMIN *****
     492set ip=%1
     493set filename=%2
     494set dir825=%3
     495set user=%4
     496set password=%5
    496497set cookiesfile=%userprofile%\Downloads\cookies825.txt
    497498
     
    506507rem - Upload the file
    507508curl -v -b %cookiesfile% -c %cookiesfile% -F file=@%filename% "http://%ip%/cgi-bin/index?p=filemgr&a=new"
    508 
    509509}}}
    510510