[JSch-users] Enormous traffic when uploading file to non-empty folder
Status: Alpha
Brought to you by:
ymnk
From: Milano N. <dra...@gm...> - 2016-08-24 09:57:12
|
Another symptom of the issue is that listing the directory content via sftp.ls(sftpAbsolutePath) call takes approx. 100 seconds, tcpdump says it transfers about 1555 KB server -> client and 58KB client -> server. If I connect to the server via SSH (using putty), run the ll command in console and redirect the command output to a textfile, the resulting file has 768 KB instantly. I understand that there is allways difference in the computing time, part of it depends on the fact computing is done on server/client side. (Even though the difference is huge). But where is the additional data traffic coming from? Approximately twice as much data is transfered. Any ideas? P.S. I wouldn't expect any issues with encoding as both machines run some unix derivate system. But who knows. Is there a possibility of such problem? |