Topic "Include directory in temporary file name when editing"

Author Message
cnasal
[View user's profile]

Joined: 2007-12-20
Posts: 2
Location: Fredericksburg, Virginia US
I use WinSCP a lot while working on web sites. I usually connect to a server, and then double click on a file to edit it. Then I make my changes and save it, and WinSCP automatically uploads the file - which is a great feature.

However, while the temporary file name is the same as the file name on the server, the directory is a random name. Therefore, if I am working on two different index.php files, I do not know which one is in which directory - I have to look at the content of the file to figure out which one I am working on. It would be nice if the path on the server was part of the temporary directory. For example, let's say I have the following files in my account on the server:

domains/example.com/index.php
domains/example.com/about.php
domains/example.com/products/index.php

Then, when I opened these with WinSCP, it would be nice if the files were in the following directories:

%TEMP%/scp#####/domains/example.com/index.php
%TEMP%/scp#####/domains/example.com/about.php
%TEMP%/scp#####/domains/example.com/products/index.php

%TEMP% would be the temp directory WinSCP uses for its files and ##### would be the random numbers WinSCP uses for its directories just like it does today. However, by putting the full path, it allows me to know in my editor exactly which file I am editing. It may even be nice to put the server name as part of the path, such as:

%TEMP%/scp#####/myusername@myservername.com/domains/example.com/index.php

Thanks for the great product and wonderful features. It makes my life so much easier.

Merry Christmas!
Carl Nasal
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This is already on TODO list, so I gave it higher priority now Smile
_________________
Martin Prikryl
cnasal
[View user's profile]

Joined: 2007-12-20
Posts: 2
Location: Fredericksburg, Virginia US
Thanks!
Carl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This feature has been implemented already. It will be included into the next major release.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License