added a protocol notice for the file transfer
This commit is contained in:
parent
a7cb102640
commit
879f32e655
1 changed files with 4 additions and 2 deletions
|
@ -258,7 +258,8 @@ class FileManager extends connection.AbstractCommandHandler {
|
||||||
"cid": (channel ? channel.channelId : "0"),
|
"cid": (channel ? channel.channelId : "0"),
|
||||||
"cpw": (password ? password : ""),
|
"cpw": (password ? password : ""),
|
||||||
"clientftfid": transfer_data.client_transfer_id,
|
"clientftfid": transfer_data.client_transfer_id,
|
||||||
"seekpos": 0
|
"seekpos": 0,
|
||||||
|
"proto": 1
|
||||||
}).catch(reason => {
|
}).catch(reason => {
|
||||||
this.pending_download_requests.remove(transfer_data);
|
this.pending_download_requests.remove(transfer_data);
|
||||||
reject(reason);
|
reject(reason);
|
||||||
|
@ -285,7 +286,8 @@ class FileManager extends connection.AbstractCommandHandler {
|
||||||
"clientftfid": transfer_data.client_transfer_id,
|
"clientftfid": transfer_data.client_transfer_id,
|
||||||
"size": options.size,
|
"size": options.size,
|
||||||
"overwrite": options.overwrite,
|
"overwrite": options.overwrite,
|
||||||
"resume": false
|
"resume": false,
|
||||||
|
"proto": 1
|
||||||
}).catch(reason => {
|
}).catch(reason => {
|
||||||
this.pending_upload_requests.remove(transfer_data);
|
this.pending_upload_requests.remove(transfer_data);
|
||||||
reject(reason);
|
reject(reason);
|
||||||
|
|
Loading…
Add table
Reference in a new issue