download command

Cas de Reuver casdr at 0fi.net
Sun Aug 23 07:59:44 EDT 2015


Hi Florian,

This will push the file TO the CPE.



> On 23 Aug 2015, at 13:59, Florian Eckert <eckert.florian at googlemail.com> wrote:
> 
> Hi
> 
> I have seen in the api documentation on github that there is a Section
> with the name Download.
> 
> download:
> ----------------
> curl -i
> 'http://localhost:7557/devices/00236a-SR552n-SR552NA084%252D0003269/tasks?timeout=3000&connection_request'
> \
> -X POST \
> --data '{ "name": "download",
> "file":"5523d8b85108fbd05b735163","filename":"file.txt"
> 
> It is not obvious for me what this command do?
> 
> 1. Does it say to download a file "to" the cpe
> OR
> 2. Does it mean download a file "from" the cp
> 
> 
> And can anyone please say what the "file:" and "filename:" attribute of
> this command mean.
> 
> filename:path to file? on server or cpe?
> file: path to file? on server or cpe?
> 
> Sorry for this question but i dont found any docu to this command
> 
> Kind Regards
> 
> Flo
> 
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users


More information about the Users mailing list