Closed minico closed 7 years ago
I confirmed the issue. I will fix it.
ZMODEM file transfer was re-implemented. XMODEM has not been updated yet.
b07cbc712861cb163d33c35a57c83b802050b9ba...f61a279373423c0e9042db76faf8bd4a81ee23cc
It ways failed when I tried to upload big file(for example 50M). SecureCRT implements ZModem in a good way, when I type "rz" or "sz" in terminal, the upload or download dialog will appear automatically.
Which connection type are you using? Telnet? SSH? or SerialPort? Which version of operating system is running on the remote side?
Thank you for the information !
You would have noticed that the transfer speed slows down soon after the file transfer was started. It is caused by the flow control of the SSH protocol that is based on the "window" size. Default window size of Poderosa is 4096 bytes, and it is too small to the ZMODEM protocol. Small window size causes the delay of the data transfer, and sz may detect it as the transfer error.
Try larger SSH window size. To change the SSH window size, Open Tools > Detailed preference editor, then edit the value of "org.poderosa.protocols.sshWindowSize".
16384 or larger value (like 65536) would improve the data transfer. 262144 would be enough to the binary data transfer like SCP or SFTP.
I have tested ZMODEM file transfer of the 500mb binary file with the large window setting, and the transfer was completed successfully.
Thank you for your response, but the solution seems not work for my case:( I changed the sshWindowSize to 262144, but I still get the same error as before.
OK, I know why it fails.
If I open the XZModerm dialog and send a file to server, it will fail for large file, but succeed for small file.
I think the correct method should be:
Data resending was fixed. Now TCP_NODELAY is used for the SSH or TELNET. It will improve the file transfer rate. (and will reduce error on the remote side)
16528775af8ebe41704bd32851cbf9b21d939592...8a0a7818bd3e29bd89684562f12b79d73824a0ed
Thank you for the quick fix.
ZModem/XModem doesn't work.