NppFTP
NppFTP copied to clipboard
windows and ipv6
Hi,
If you add a a ipv6 profile into NppFTP, Notepad++ will create the cache directory with username@IPv6 but windows don't accept :
into folder name
Failed to create directory C:\Users\*****\AppData\Roaming\Notepad++\plugins\Config\NppFTP\Cache\test@2a01:****:****:1c::11\root\
Maybe you can remove all :
form the address
Az
:
is invalid and some others more, see https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx.
Which filesystem did you test with NTFS or FAT/FAT32?
NTFS here !
I ran into this bug myself just now. NTFS doesn't allow directory names containing colons :
A possible solution would be to remove all the colons when creating the directory. If hostname is 2001:DB8:2::3
then the cache directory would be 2001DB823
instead.
Workaround:
If the IPv6 host you're trying to connect to doesn't have a valid hostname you can get around this bug by creating a hostname mapping in the windows host file C:\Windows\System32\drivers\etc\hosts
Add something like this to your hosts file and click save:
2001:DB8:2::3 myipv6host
You can then use "myipv6host" as the hostname in NppFTP.