Now you can start testing it
So I did!
Test: Sending a 4.4MB text file.
Miranda to Miranda:Sender:Sees: "Unable to initiate file transfer" until the recipient accepts
Recipient:Sees regular file transfer request. Upon choosing location, the file is partially stored. (Usually sub-20KBytes of the file) Both receive "Filetransfer was successful" message.
Received file:- Sub-20KBytes of the source file
- One byte (00) is appended to the beginning of the file.
- File is closed() - can be deleted etc.
Miranda to uTox:Sender:Sees: "Unable to initiate file transfer" until the recipient accepts
Recipient:Sees regular file transfer request. Upon choosing location, the file is partially stored. (Usually sub-20KBytes of the file) Both receive "Filetransfer was successful" message.
Received file:- Sub-20KBytes of the source file
- Up to the point where the file is cut off, there are no differences between the received and the source file.
- File is closed() - can be deleted etc.
uTox to Miranda:
Sender:
Sees regular file send request.
Recipient:
Sees regular file transfer request. Upon choosing location, the file is stored completely. Progressbar is properly displayed throughout the entire transfer.
Received file:
- Complete
- An empty byte (00) is appended to the beginning of the file. Rest of the file is unchanged (md5 is valid after removing the first byte of the received file)
- File is closed() - can be deleted etc.Fixed! The above case now works properly!BONUS:
uTox to Miranda, pausing and resuming transfer mid-transfer:
Sender:
Everything is normal here
Recipient:
- Complete
- An empty byte (00) is appended to the beginning of the file. Rest of the file is unchanged (md5 is valid after removing the first byte of the received file)
- File cannot be deleted ("remains opened in miranda NG") when you attempt to remove it.Fixed! The above case now works properly!uTox to Miranda, cancelling mid-transfer:
Sender:
Everything is normal here
Recipient:
Doesn't receive the notification that the transfer was cancelled - leaves filetransfer open. Can be cancelled manually and the file can then be deleted.Fixed! The above case now works properly!Sending 2GB+ files (from 64bit utox to 64bit miranda):Sender:Everything is normal here
Recipient:Sees regular file transfer request. Upon choosing location, the file is partially stored. (Usually sub-2KBytes of the file) Both receive "Filetransfer was successful" message.
Sending multiple files at once from uTox to Miranda:
Sender:
Queues up multiple files just fine
Recipient:
Receives a filetransfer popup for each file queued up.
Files:
Saved successfully, each with an empty byte appended to the beginning of it.Fixed! The above case now works properly!