Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

SFTP destination file is given current timestamp, not timestamp of source file #159

Open
daldr-ntml opened this issue Apr 29, 2020 · 0 comments

Comments

@daldr-ntml
Copy link

Description

With sftp copy, unable to give destination file the same timestamp as source file.

Actual behavior

An sftp copy gives the destination file a timestamp equal to the time/date of the sftp operation.

Expected behavior

The destination file should be given a timestamp equal to that of the source file.

The value of "syncTime" seems to make no difference to the timestamp.

Example config

        "targets": [
            {
                "type": "sftp",
                "name": "ledapc_AP",
                "description": "AP target on ledapc",
                "host": "ledapc3", "port": 22,
                "user": "root",
                "syncTime": false,

Your environment

  • Operating system: Windows 10
  • Visual Studio Code version: 1.44.2
  • Extension version: 0.89.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant