bugzilla-daemon at bugzilla.mindrot.org
2019-Mar-12 16:44 UTC
[Bug 2978] New: download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Bug ID: 2978
Summary: download status file
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: life25go at ukr.net
step to reproduce
1. download file from sftp server
$ echo -n "get file.txt"|sftp -a user at host -
Connected to user at host.
sftp> get file.txt
Resuming /home/user/file.txt to file.txt
/home/user/file.txt
2. check file with stat utility
$ stat file.txt
Access: 2019-03-12 18:25:30.326646411 +0200
Modify: 2019-03-12 18:25:30.328646433 +0200
Change: 2019-03-12 18:25:30.328646433 +0200
3. repeat step 1
$ echo -n "get file.txt"|sftp -a user at host -
Connected to user at host.
sftp> get file.txt
Resuming /home/user/file.txt to file.txt
/home/user/file.txt
4. check file with stat utility again
$ stat file.txt
Access: 2019-03-12 18:25:30.326646411 +0200
Modify: 2019-03-12 18:25:30.328646433 +0200
Change: 2019-03-12 18:25:30.328646433 +0200
file not modified!
expected results:
in step 3 suppress the output line
Resuming /home/user/file.txt to file.txt
or in some way show that file not modified?
Some times i need update files from server.
But not all files could be modified.
It will be nice to see what files really downloaded(or modified).
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-May-17 04:22 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3284
--> https://bugzilla.mindrot.org/attachment.cgi?id=3284&action=edit
Print "not modified" message when resumed transfer does not modify
files
I guess we could do something like the attached: print a "not
modified"
message when a resumed transfer results in no file changes.
E.g.
$ ./sftp -D ./sftp-server
Attached to ./sftp-server.
sftp> lcd /tmp
sftp> get /bin/ls
Fetching /bin/ls to ls
/bin/ls 100% 132KB 161.8MB/s
00:00
sftp> reget /bin/ls
Resuming /bin/ls to ls
/bin/ls 100% 132KB 0.0KB/s
00:00
File "ls" was not modified
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-May-17 04:23 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2988
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2988
[Bug 2988] Tracking bug for 8.1 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jun-07 03:41 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
Attachment #3284| |ok?(dtucker at dtucker.net)
Flags| |
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jun-07 03:49 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3284|ok?(dtucker at dtucker.net) |ok+
Flags| |
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jul-12 03:49 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Patch applied and will be in OpenSSH 8.1 - thanks.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2020-Feb-14 04:59 UTC
[Bug 2978] download status file
https://bugzilla.mindrot.org/show_bug.cgi?id=2978
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Closing all resolved bug with release of openssh-8.2
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.