Desktop-icon function doesn't work on illegal filename chars

Advertisement

consistency
consistency avatar
Joined:
Posts:
54
Location:
austria

Desktop-icon function doesn't work on illegal filename chars

having a ":" in my servername the "desktop icon" function doesn't work, the .lnk file can't be created.

"domain.com: username" (my regular filename)

winscp creates a 0byte sized file named "domain.com"

winscp should strip/exchange illegal chars.

Reply with quote

Advertisement

consistency
consistency avatar
Joined:
Posts:
54
Location:
austria

also breaks the "append remote path to temporary path" feature.


feature requests:
- "append remote path to temporary path" feature also adds the current session path to the servername -> this should be optional, having a deep folder structure for the sessions make the temp path unnecessary long and unreadable. the adding of the folder structure should be optional/toggleable
- a additional field session short name would be cool, so the temp path feature and the create desktop icon feature can use the shortname for name generation, if the shortname field is empty, a fallback to the regular session name should be possible.

Reply with quote

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

Re: Desktop-icon function doesn't work on illegal filename chars

consistency wrote:

having a ":" in my servername the "desktop icon" function doesn't work, the .lnk file can't be created.

"domain.com: username" (my regular filename)

winscp creates a 0byte sized file named "domain.com"
This bug has been added to the tracker:
https://winscp.net/tracker/795

consistency wrote:

also breaks the "append remote path to temporary path" feature.
Does not break for me.
Do you have replacement of invalid characters enabled in preferences? (it is by default)
https://winscp.net/eng/docs/ui_transfer_custom

feature requests:
- "append remote path to temporary path" feature also adds the current session path to the servername -> this should be optional, having a deep folder structure for the sessions make the temp path unnecessary long and unreadable. the adding of the folder structure should be optional/toggleable
Please read documentation:
https://winscp.net/eng/docs/ui_pref_storage#temporary_directory

- a additional field session short name would be cool, so the temp path feature and the create desktop icon feature can use the shortname for name generation, if the shortname field is empty, a fallback to the regular session name should be possible.
Ok, will see if more people ask for this.

Reply with quote

Advertisement

You can post new topics in this forum