Failure to upload edited file when name contains "<" or ">" on Windows NTFS
Posted 05 November 2007 - 11:00 PM
When you edit a file with F7, it gets saved to the Windows temp folder as usual. BUT if its name has a "<" or ">" which is legal on most Linux file systems it gets converted to "_" on Windows NTFS because its one of the special characters that can't be in an NTFS filename: / \ < > : * ? ( ) |
So when you try and upload it, it doesn't upload right because SmartFTP looks for < or > in the filename but doesn't find it. (thus file editing fails but not visibly)
Big list of system stats: http://ub3rk1tten.com/sysstats2.txt
Posted 07 November 2007 - 04:23 AM
I have the default editor in SmartFTP set to Notepad++, the Windows association for .html files to that too, and a blah.html file in the same directory works fine.
Posted 07 November 2007 - 10:44 PM
Part of an FTP I put some stuff on for my friends.
Posted 07 November 2007 - 11:43 PM
Thanks. I'm unable to reproduce it. I have set .html to open with notepad.exe (my default editor is something else) and the file opens in notepad.exe when I click on Edit. When I click on Open it opens in Internet Explorer.
Posted 08 November 2007 - 04:10 AM
When I right click the file and choose edit from the context menu it opens in Word the same way as in SFTP, so it appears that SFTP is using that as well.
*goes to test*
Found out its actually HKEY_CLASSES_ROOT\htmlfile\shell\Edit that I should delete, seeing as I don't use edit in the menu for html files anyways.
(you can edit the command at HKEY_CLASSES_ROOT\htmlfile\shell\Edit\command)
*logs out to test*
Edited by T3h Ub3r K1tten, 08 November 2007 - 04:18 AM.