javascript - How to download a file to memory casperjs -


i'm beginner programmer in casperjs , i'm trying download files webpage , save on memory. i'm able save temp folder, wondering if theres better way.

function downloadfile(newurl){    var fileext = newurl.replace(/^.*[\\\/]/, '');    var path = 'c:/windows/temp/' + fileext;    casper.download(newurl, path); } 


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -