Topic "Enhancements: Changing file properties and Renaming files"

Author Message
mariam
[View user's profile]

Joined: 2008-12-06
Posts: 1
Hello,

I am a student at California Eastbay Hayward. Our mini project was to test certain features of WinSCP.

I was assigned to test:
A. Using WinSCP >> Changing properties (permissions, ownership, etc) of remote files.

An enhancement I found would be useful is that:
When the owner has set the permission settings for a file as 444 or 'r--r--r--', then the 'Edit' option (context menu) for this file should be disabled since this file is read only. If the owner does want to make changes he/she can always change the permission settings for the file. Can any one tell me if this is a valid enhancement or if my understanding is wrong.

B. Another enhancement under section: Using WinSCP >> Renaming Files.
Consider 2 files in a directory namely, "test1" & "test2". If I try to rename "Test1" as "Test2". I get a Confirm popup window appears with the prompt:
File Test2 already exists. Overwrite?. If I click on 'Yes' button another Error popup window with the following message is displayed:
Error renaming file Test1 to Test2.
Why not instead just display the error popup window instead of displaying a Confirm pop up window with Overwrite option. Since overwrite option does not work anyway.

I am not sure if these are valid enhancements. Thanks for taking the time to go over these proposals

Regards.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
mariam wrote:
An enhancement I found would be useful is that:
When the owner has set the permission settings for a file as 444 or 'r--r--r--', then the 'Edit' option (context menu) for this file should be disabled since this file is read only. If the owner does want to make changes he/she can always change the permission settings for the file. Can any one tell me if this is a valid enhancement or if my understanding is wrong.

It is the server who enforces the permissions. WinSCP should by no means try to interpret the permissions itself. There definitely are some servers that enforce the permissions in non-obvious way.

Quote:
B. Another enhancement under section: Using WinSCP >> Renaming Files.
Consider 2 files in a directory namely, "test1" & "test2". If I try to rename "Test1" as "Test2". I get a Confirm popup window appears with the prompt:
File Test2 already exists. Overwrite?. If I click on 'Yes' button another Error popup window with the following message is displayed:
Error renaming file Test1 to Test2.
Why not instead just display the error popup window instead of displaying a Confirm pop up window with Overwrite option. Since overwrite option does not work anyway.

Again, this is server-specific. On some servers, the renaming may succeed.
_________________
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