LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2005, 08:14 PM   #1
yoursmile
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Rep: Reputation: 15
bttorrent download


Hello,everyone!
I'm use bttorrent to download files by " btlaunchmany.py" on linux console.I'm having trouble opening files I downloaded. I downloaded files on with "????? .rmvb" but actual are chinese file name.I'm come for china.
Code:
# locale
LANG=zh_CN.GBK
LC_CTYPE="zh_CN.GBK"
LC_NUMERIC="zh_CN.GBK"
LC_TIME="zh_CN.GBK"
LC_COLLATE="zh_CN.GBK"
LC_MONETARY="zh_CN.GBK"
LC_MESSAGES="zh_CN.GBK"
LC_PAPER="zh_CN.GBK"
LC_NAME="zh_CN.GBK"
LC_ADDRESS="zh_CN.GBK"
LC_TELEPHONE="zh_CN.GBK"
LC_MEASUREMENT="zh_CN.GBK"
LC_IDENTIFICATION="zh_CN.GBK"
LC_ALL=zh_CN.GBK
How do I download torrent file includes chinese filename file?

Last edited by yoursmile; 07-10-2005 at 08:16 PM.
 
Old 07-12-2005, 06:16 AM   #2
OhMyAchingGut
Member
 
Registered: May 2004
Location: Ohio
Distribution: Slackware-current/10.1/10.0, Splack 10, Suse 9.2, NetBSD 2.0, OpenBSD 3.6, Solaris 8
Posts: 85

Rep: Reputation: 15
i'm a little confused about your problem. What kinds of files are you downloading? What are you trying to open them with?

It sounds like you downloaded them just fine, in which case bit torrent really has nothing to do with the issue whatsoever.

the "file" command should be helpful. It can tell you the original filename, and filetype of any file on your system. Run it on some of the things you downloaded, and you will know what they are.
 
Old 07-12-2005, 06:41 AM   #3
yoursmile
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you for yours reply.

I want to download file is:

http://blog.dyddy.com/html/article_b...fd2b7e.torrent

When downloading ,you will find that filename is "????????????A.rmvb".And BitTorrent come out with an error message saying "This .torrent file has been created with a broken tool and has incorrectly encoded filenames. The names used may still be correct."

"Realone player" software can open the .rmvb file. It is a movie file.

I think my question was independent of "file" command.
 
Old 07-12-2005, 06:55 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Do you mean the filename has chinese characters in it? when saving just rename it to something else like <movietitle>.rmvb
 
Old 07-21-2005, 07:32 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
ethics, the problem with your strategy is that you cannot then upload the file (which is the point of Bittorrent after all-- sharing, remember), because it is no longer the same file that is named in the torrent that everybody else who wants to download it has.

yoursmile, if Bittorrent itself says that the torrent was created with a broken tool, and therefore has incorrectly encoded the filename, then that's most likely exactly what has happened. There's not much-- actually nothing-- you can do about that (unless you want to create a new torrent for the file and re-seed it), and you should be grateful that you can get the file at all and that it works OK.

There's also a much-less-likely possibility that Bittorrent only thinks the file's encoding is broken because your system does not support the character encoding that it uses (such as UTF-8, or Big5, or heaven knows what). In which case, you can add support for other language encodings to your distribution (whatever distribution that may be-- filling in the "Distribution" section of your profile would be helpful here), but that's beyond the scope of this reply, except to say that you might consider adding a few Chinese character fonts to the system-- the problem could also be simply that your system has no fonts that contain the characters that the file is named with, so can't display the name at all.

Myself, this is one of the many reasons that I use Azureus, when I have any need for such things, despite the program's sometimes-annoying Java dependency. It has a neat feature which allows you to choose what character encoding to use if the file can be displayed using more than one such. You might want to take a look at it.
 
  


Reply



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
Fast Download Site for Linux, enables >4GB Download of single file TigerLinux Linux - Distributions 9 10-29-2005 12:45 PM
download ATI Driver for linux doesn't download right timalan SUSE / openSUSE 1 08-26-2005 09:10 AM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
Konqueror wont download download TAR,ZIP file but preview Velocide Linux - Newbie 0 03-22-2004 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 PM.

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