Hi,
 
I was planning a small improvement to SCP task.
If you are copying large files they take time.
And it would be nice to see that something is happening if a transfer takes long
(in quite normal cases a transfer of one file can take minutes sometimes even hours).
 
So here is a small patch to ScpToMessage file (attached) in unified diff format
that exemplifies how the progress could be presented to the user.
If the file is smaller than 100kb no progress would be shown.
If the file would be between 100kb and 1mb then progress for every 10% would be shown.
And if the file would be larger then progress for every percent would be shown.
 
Whoever is maintaining ant-jsch package could comment and if this is approved
I could send similar changes for file ScpFromMessage.
 
- rami ojares
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to