Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

File name error on windows. #123

Open
luckcolors opened this issue Aug 10, 2018 · 0 comments
Open

File name error on windows. #123

luckcolors opened this issue Aug 10, 2018 · 0 comments

Comments

@luckcolors
Copy link

While downloading the media the tool crashed with this error.
It crashed because it tried to create a file with a character in it that's banned from being used in filenames on windows. See here https://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names for more info.

An error occured!
java.io.FileNotFoundException: \<REDACTED>\files\<REDACTED>?something.downloading (The syntax of the file, volume, or directory is not correct.)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
        at de.fabianonline.telegram_backup.DownloadManager$Companion.downloadFileFromDc(DownloadManager.kt:425)
        at de.fabianonline.telegram_backup.DownloadManager$Companion.downloadFile(DownloadManager.kt:403)
        at de.fabianonline.telegram_backup.mediafilemanager.DocumentFileManager.download(DocumentFileManager.kt:102)
        at de.fabianonline.telegram_backup.DownloadManager._downloadMedia(DownloadManager.kt:367)
        at de.fabianonline.telegram_backup.DownloadManager.downloadMedia(DownloadManager.kt:317)
        at de.fabianonline.telegram_backup.CommandLineController.<init>(CommandLineController.kt:139)
        at de.fabianonline.telegram_backup.CommandLineRunnerKt.main(CommandLineRunner.kt:41)

----- EXIT -----

Let me know if you need etra information or help with this. :)

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

No branches or pull requests

1 participant