LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2011, 07:24 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Strange filename - rtorrent unable to create a file


Hi,
you know how strange can be filenames in torrents - if you don't know look at thepiratebay.

After opening a torrent the rtorrent program was unable to activate downloading because of missing file. At first I thought it is a bug in the torrent file. But then I realized that it may be a problem with creating a file due to its strange name - indeed when I created manually the needed files the torrent started.

The question is: the restriction for a filename comes from the rtorrent itself or it is due to the bash limits? Or rather the system limits - a low-level system call procedure is able to create only files with names which meet some requirements? So, it causes an exception and it seems unhandled by rtorrent? How to figure out this? How I can find why rtorrent is unable to create a file?
 
Old 11-15-2014, 11:00 PM   #2
Aralhach
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
Smile Later is better than never

I just ran into the same problem as you, with a Raspberry Pi downloading torrents to an external USB thumbdrive (formatted with FAT). The problem of the "missing file" is because of strange characters in the filename (like é or ñ or other non-English characters).

The solution for me was to mount the USB drive correctly, something like:
Code:
mount -o codepage=850,iocharset=iso8859-1,utf8 /dev/sdb1 /mnt
You can read more about this at: http://www.nslu2-linux.org/wiki/HowT...FATFileSystems

If you're using an NTFS or other non-native filesystem, the codepage will also be an issue, so the solution should be very similar to what I have posted here.

I'm aware that my post is like 3 years late, but I just ran into this problem, and this was one of the first results, so I'll post the solution I found here for any other person who may run into the same problem.

Last edited by Aralhach; 11-15-2014 at 11:01 PM. Reason: correction with years after question
 
1 members found this post helpful.
  


Reply

Tags
creating, file, filename


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange file type - Unable to delete the file kk2202 Linux - General 6 08-10-2009 12:00 PM
Strange file type - Unable to delete the file kk2202 Red Hat 1 08-10-2009 08:22 AM
Create folder from .rar or .r00 file with filename excluding the extension (usinBash) Techno Guy Linux - Newbie 7 01-04-2009 12:13 AM
strange filename/file in my /usr/bin directory M$ISBS Linux - Security 1 06-04-2006 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration