Enhancements: Changing file properties and Renaming files

Advertisement

mariam
Joined:
Posts:
1

Enhancements: Changing file properties and Renaming files

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Enhancements: Changing file properties and Renaming files

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.

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.

Reply with quote

Advertisement

You can post new topics in this forum