FTP.JS

INTRO

The ftp.js module provides client FTP protocol implementation.

API

$file.do(response)

The event handler interceptor of the incoming FTP message.

$file.progress(offset,total)

The event handler interceptor of the file upload progree.

ftp.init(file)

Initialization of File transfer, returns unique id generated for it.

ftp.start(id)

Initialization of File transfer by id.

ftp.stop(id)

Termination of File transfer by id.

ftp.send(item,data)

Sends binary FTP data over WebSocket.

You may also want to read: bert.js, utf8.js, mq.js, nitro.js, n2o.js.