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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -