[Bug 2978] New: download status file

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Mar 13 03:44:51 AEDT 2019


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.


More information about the openssh-bugs mailing list