jquery - Upload file via FTP using javascript (Chrome Extension) -
i have chrome extension, it's pure javascript + chrome api. want upload via ftp protocol file.
i have understood vanilla javascript can't ftp request. there other way ? i'm in chrome extension haven't find ftp purpoes in online api
and have clarify, have upload file via ftp on black box. don't have control on it. , black box not accessible via internet, via local network.
it seems can use chrome-app-ftp library
var ftpclient = new ftpclient(host, port, user, password); ftpclient.connect().then(function () { ftpclient.upload("test.txt", buffer) });
but socket api doesn't available in extensions. here more information it
Comments
Post a Comment