Topic "SUGGESTION: Allow forward slash paths in windows folder path format"

Author Message
yereverluvinunclebert
[View user's profile]

Joined: 2012-05-10
Posts: 38
Location: Brighton - The Beautiful South
Windows requires forward slashes in the path but WinSCP requires backslashes, when copying and pasting a long folder name from windows to the path it is frustrating having to retype all the slashes by hand.

By default WinSCP should allow and understand both slash types, even mixed. This means that you could add a windows folder path to a current selected path in WinSCP without worrying.

I think this is essential to allow WinSCP to be truly native on Windows.

Tried to add this to tracker but for some reason the login to tracker will not work any more. Tried the forum password and my bugzilla username/pass but neither work, so I have raised it here instead.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
yereverluvinunclebert wrote:
Windows requires forward slashes in the path but WinSCP requires backslashes

Where does Windows require forward slashes?
yereverluvinunclebert
[View user's profile]

Joined: 2012-05-10
Posts: 38
Location: Brighton - The Beautiful South
My suggestion was incorrectly stated.

In my post please replace "forward slashes" with "backslashes"

WinSCP uses forward slashes in the path.

When I copy a path from windows explorer it uses backslashes, eg.

H:\webs\Lightquick Fagus PSD\public_html\administrator\components\com_categories

If I try to copy the relevant part of the path to WinSCP using the paste function (right click on the breadcrumb/ open directory / paste )

and I drop the following into the path: public_html\administrator\components\com_categories

it does the following:

Prohibited file name: \public_html\administrator\components\com_categories

Whereas it will allow:

/public_html/administrator/components/com_categories

Winscp does not like windows style paths
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
So you want to paste a path with backslashes to a remote panel of WinSCP which uses forward slashes? The remote panel is not "Windows".
yereverluvinunclebert
[View user's profile]

Joined: 2012-05-10
Posts: 38
Location: Brighton - The Beautiful South
No of course not, but the difference in paths is so negligible that the two forms could be interchangeable. ie. A backslash in a path is the equivalent to a forward slash so it seems that it could ever so easily be interchanged.

It would make copying/pasteing of paths a lot easier.

Most of us are locally using Windows and when interacting with a linux/unix system via ftp my only interface to that system is via WinSCP. I have no command line or GUI access to that machine so my experience of the remote file system is limited to that provided by WinSCP.

It is the only time I will experience paths in a non-windows format. If the path could be made interchangeable then that makes sense from a Windows perspective. I frankly do not care about backslashes or forward slashes, all I want is for WinSCP to be inuitive and easy to use.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
OK, I'll think about it.
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