NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

windows and ipv6

Open azlux opened this issue 7 years ago • 3 comments

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

azlux avatar Jul 07 '16 14:07 azlux

: 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?

chcg avatar Mar 07 '17 21:03 chcg

NTFS here !

azlux avatar Mar 07 '17 21:03 azlux

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.

imcdona avatar Jan 24 '19 16:01 imcdona