How to tutorials that solve problems with the free and open source FTP file transfer protocol program Filezilla
How to Get Remote Files to Open in their Local Default Editor in Filezilla

If when you right click a remote file in Filezilla and select “view/edit” to open it locally:

Then Edit > Settings >

in “Filetype associations” add the following text:

. C:\Windows\system32\NOTEPAD.EXE %f
jpg “C:\Program Files\Adobe\Adobe Photoshop 2022\Photoshop.exe” %f
php “C:\Windows\System32\notepad.exe” %f

and OK

Further example with different default programs:

More here

Ways to write c:\Program Files so Windows understands (sometimes the space in the middle is a problem):
More here

read more