Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Names With Special Characters Are Not Transferred #69

Open
monomycelium opened this issue Jun 25, 2022 · 0 comments
Open

File Names With Special Characters Are Not Transferred #69

monomycelium opened this issue Jun 25, 2022 · 0 comments

Comments

@monomycelium
Copy link

monomycelium commented Jun 25, 2022

When I try to transfer files with special characters like and (), the files do not get transferred, and I get an error:

Down message: the file session: 8e1cf038-6d92-4838-98bc-9ebfdaad7ca1 / /media/pi/ADATA/Test File — EM Dash.txt finished with errors: /media/pi/ADATA/.0.764959354714342Test File — EM Dash.txt (Invalid argument)
Down cause:
java.io.FileNotFoundException: /media/pi/ADATA/.0.764959354714342Test File — EM Dash.txt (Invalid argument)
	at java.base/java.io.RandomAccessFile.open0(Native Method)
	at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
	at lia.util.net.copy.PosixFSFileChannelProviderFactory$PosixFSWriterFileChannelProvider.getFileChannel(PosixFSFileChannelProviderFactory.java:99)
	at lia.util.net.copy.FileWriterSession.getChannel(FileWriterSession.java:151)
	at lia.util.net.copy.disk.DiskWriterTask.run(DiskWriterTask.java:146)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

File names with characters from non-English encodings do not get transferred either. I would like to know if this is a bug or if I should arduously rename all the files I want to transfer?

Here is the entire output of the command: error.log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant