我正在erlang n2o Web框架中设置新服务器,并希望使用#upload上传图像。如何使用上传事件。
[1]。https://github.com/synrc/sample/blob/master/src/index.erl#L14[2]。 https://github.com/synrc/sample/blob/master/priv/static/index.htm#L7
$file.progress = function onprogress(offset,total,guid,name) {
console.log(name);
};