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: [email protected]
Reporter: [email protected]
step to reproduce
1. download file from sftp server
$ echo -n "get file.txt"|sftp -a user@host -
Connected to user@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@host -
Connected to user@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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs