Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

programedit

Hi martin,

Finally I see it! I need to activate the "Transfer Settings" toolbar (Options->Toolbar->(enable)Transfer Settings), and then inside the listbox select "Configure". Inside this window I need to select the "Default" configuration, Duplicate it, and Edit. Inside I can disable the default "Common options"->"Preserve timestamp", save, return to the session window, and Select the duplicated "Default without preserver tiemstamp" Transfer Setting.

Very, very hard to found it... and not well documented. However, it works.
Thank you!
programedit

Re: New option: Auto-touch files when using EDIT

Sorry, but I'm lost too. Please, with all due respect, listen to me, and I'm sorry if I'm being annoying... I can't found this option window! I repeat:

1. I open a WinSCP session using the command line (calling it from another tool, that is a Terminal).
2. Then inside the WinSCP I double click to EDIT a source file.
3. After editing a file I pick save, and the file is uploaded.

Then the question is: INSIDE THE SESSION, where I can configure this parameter?
Please, take note that I'm not transferring anything using TRANSFER buttons. I'm only EDITING.

So, please can you explain how I can do it?
Thank you for your patience.
martin

Re: New option: Auto-touch files when using EDIT

programedit wrote:

Please, can you add a button/menu-option/whatever to enable/disable it inside a session?
Thank you

I'm lost.
I've already told you how to do this:

martin wrote:

Just turn off "Preserve timestamp" transfer option. It has the effect you want.
https://winscp.net/eng/docs/ui_transfer_custom
programedit

Re: New option: Auto-touch files when using EDIT

Hi Martin,

This doesn't solve the problem! The problem is to ENABLE/DISABLE on-line, that's when the connection is stablished.

Please, can you add a button/menu-option/whatever to enable/disable it inside a session?
Thank you
programedit

Re: New option: Auto-touch files when using EDIT

Great! Thank you for the tip.

However, how I can disable this inside the current session? I'm opening WinSCP from another tool (using the command line), and when the session is open I want to disable (or enable) this option. Any idea?
programedit

New option: Auto-touch files when using EDIT

Hi,

I'm using a lot of times the functionality of EDIT files in remote SFTP servers. Mainly to edit code that I compile in a terminal shell opened to the same server. However, if the local and remote computers doesn't have identical clocks, when calling to make the file can have future times:
Warning: File 'main.c' has modification time 3.2 s in the future

This can be solved with a manual $ touch main.c in the shell. However, it's a pain when editing a lot of files.

So a simple solution can be to automatically touch an edited file after upload it.
Please, can you incorporate this functionality?
Regards.