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:12] – [Configuration Steps] wikiadminguides:patterns:winscp [2022/08/02 11:59] (current) – external edit 127.0.0.1
Line 26: Line 26:
   - Connect to the remote machine with WinSCP.   - Connect to the remote machine with WinSCP.
   - Right click on any text file and select *Edit* -> *Configure ...*   - Right click on any text file and select *Edit* -> *Configure ...*
-{{:guides:patterns:winscpeditconfigure.png?nolink|}}+    - {{:guides:patterns:winscpeditconfigure.png?nolink|}}
   - Select the *Add* option to add a new editor.   - Select the *Add* option to add a new editor.
-{{:guides:patterns:winscpeditaddnet.png?nolink |}}+    - {{:guides:patterns:winscpeditaddnet.png?nolink|}}
   - Select *External Editor:* and browse to your editor of choice.   - Select *External Editor:* and browse to your editor of choice.
-{{:guides:patterns:winscpselecteditor.png?nolink |}}+    - {{:guides:patterns:winscpselecteditor.png?nolink|}}
     - If you are unsure of the location of your editor you can:     - If you are unsure of the location of your editor you can:
     - Right click on the editor icon on the desktop and select *Preferences *     - Right click on the editor icon on the desktop and select *Preferences *
-{{:guides:patterns:winscppath1.png?nolink |}}+      - {{:guides:patterns:winscppath1.png?nolink|}}
     - Note the path to the executable in the *Target* box     - Note the path to the executable in the *Target* box
-{{:guides:patterns:winscppath2.png?nolink |}}+      - {{:guides:patterns:winscppath2.png?nolink|}}
     - Be sure to browse to the path as WinSCP adds other values at the end of the path.     - Be sure to browse to the path as WinSCP adds other values at the end of the path.
   - Click *OK* and finish   - Click *OK* and finish
-{{:guides:patterns:winscpeditoradded.png?nolink |}}+    - {{:guides:patterns:winscpeditoradded.png?nolink|}}
   - If you want this become the default editor, use the *Up* button to move the new entry to the top of the list.   - If you want this become the default editor, use the *Up* button to move the new entry to the top of the list.
-{{:guides:patterns:winscpneweditorattop.png?nolink |}}+    - {{:guides:patterns:winscpneweditorattop.png?nolink|}}
  
  
 ==== 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.1596485520.txt.gz · Last modified: 2022/08/02 11:59 (external edit)