User Tools

Site Tools


guides:patterns:winscp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
guides:patterns:winscp [2020/08/03 20:14] wikiadminguides:patterns:winscp [2022/08/02 11:59] (current) – external edit 127.0.0.1
Line 44: Line 44:
  
 ==== Disabling Timestamp Preservation in WinSCP ==== ==== Disabling Timestamp Preservation in WinSCP ====
 +
 +At the time of writing the default configuration for WinSCP attempts to preserve the time stamp for files transferred.  This behavior will cause a problem for tools such as //make// as it will set the timestamp for the file incorrectly.
 +
 +{{:guides:patterns:winscptimeproblem.png?nolink|}}
 +
 +Note that the time for the file main.cpp is only the date, not the date and time.  Also notice that make flags this as an error.  
 +
 +To correct this problem:
 +  - In the WinSCP application
 +    - Select the Dropdown menu for *Transfer  Settings*/
 +      - {{:guides:patterns:winscptimechang1.png?nolink|}}
 +    - Select *Default* and click on *Edit*
 +    - Disable *Preserve timestamp* in the *Common Options* area
 +      - {{:guides:patterns:winscptimechange3.png?nolink|}} 
 +    - Click *OK* to close each window.
 +
 +{{:guides:patterns:winscptimeproblemfixed.png?nolink|}}
 +
 +Note the time is now included for the file main.cpp and // make // no longer reports an error.
 ===== Resources ===== ===== Resources =====
      * [[https://winscp.net/eng/docs/integration_editor|Integration with Text Editors]]      * [[https://winscp.net/eng/docs/integration_editor|Integration with Text Editors]]
  
  
guides/patterns/winscp.1596485699.txt.gz · Last modified: 2022/08/02 11:59 (external edit)