You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a project which uses com.github.robtimus:ftp-fs I found that the FileSystemProvider for ftp (and ftps) is not registered when running as executable jar file, so FileSystems.newFileSystem("ftp://...") fails. The identical code works when run in the IDE (intellij).
I've prepared a small test project which demonstrates the problem: fsibug.
I'm aware that it is possible to use the provider directly via new FTPFileSystemProvider().newFileSystem("ftp://...") in my use case so I have a workaround but it has cost me some time to find the problem. Would be great if this could be fixed.
The text was updated successfully, but these errors were encountered:
In a project which uses
com.github.robtimus:ftp-fs
I found that theFileSystemProvider
for ftp (and ftps) is not registered when running as executable jar file, soFileSystems.newFileSystem("ftp://...")
fails. The identical code works when run in the IDE (intellij).I've prepared a small test project which demonstrates the problem: fsibug.
I'm aware that it is possible to use the provider directly via
new FTPFileSystemProvider().newFileSystem("ftp://...")
in my use case so I have a workaround but it has cost me some time to find the problem. Would be great if this could be fixed.The text was updated successfully, but these errors were encountered: