[问题]如何修改mldonkey默认的下载后的存储路径?

上网、浏览、聊天、下载等
回复
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

[问题]如何修改mldonkey默认的下载后的存储路径?

#1

帖子 robert870119 » 2007-05-12 20:46

RT

由于“文件系统”下磁盘空间剩下很少,而mldonkey默认存储在 ~/.mldonkey/incoming下,要使用“文件系统”这个分区。

但是,我不知道在哪个设置中修改这个路径,比如说,我想把路径修改为 /media/hda6,该如何修改呢?



我使用的图形前端是 sancho,我也知道如何用firefox进入设置项,但都没找到选项。。 :shock:


请问能告诉我如何设置么?

最好截个图,好么?
谢谢。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-05-12 20:48

web option all
● 鸣学
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#3

帖子 nihui » 2007-05-12 21:05

在配置文件里面──download.ini
查找incoming 8)
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#4

帖子 robert870119 » 2007-05-13 17:30

nihui 写了:在配置文件里面──download.ini
查找incoming 8)
你好,我找到了download.ini其中,DOWNLOAD选项里,有这些选项,请问要修改哪个值呢?
(************************************)
(* SECTION : Download *)
(* Download options *)
(************************************)



(* Set to false if you don't want mldonkey to automatically put completed files
in incoming directory *)
auto_commit = true

(* Set to true if you want all new downloads be paused immediatly
will be set to false on core start. *)
pause_new_downloads = false

(* The maximal number of files in Downloading state (other ones are Queued) *)
max_concurrent_downloads = 60

(* The maximal length of zero bytes between non-zero bytes in a file that
should be interpreted as downloaded during a recovery *)
max_recover_zeroes_gap = 16

(* A command that is called when a file is committed, does not work on MinGW.
Arguments are (kept for compatability):
$1 - temp file name, without path
$2 - file size
$3 - filename of the committed file
Also these environment variables can be used (prefered way):
$TEMPNAME - temp file name, including path
$FILEID - same as $1
$FILESIZE - same as $2
$FILENAME - same as $3
$FILEHASH - internal hash
$DURATION - download duration
$INCOMING - directory used for commit
$NETWORK - network used for downloading
$ED2K_HASH - ed2k hash if MD4 is known
*)
file_completed_cmd = ""

(* The command which is called when a download is started. Arguments
are '-file <num>' *)
file_started_cmd = ""
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#5

帖子 nihui » 2007-05-13 20:12

找到这一段:
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)


在其之下有几行
有这样的:
{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"
分别改成你所要下载文件保存的路径即可。 :roll: :wink:
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-05-13 20:23

最简单的,就是删除原目录。ln -s一个就是。我说的option里面有啊。web界面的设置。都不看。
● 鸣学
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#7

帖子 nihui » 2007-05-13 20:26

eexpress 写了:最简单的,就是删除原目录。ln -s一个就是。我说的option里面有啊。web界面的设置。都不看。
web界面设置的option里面哪里有?我都找了很久了也没找到过。
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#8

帖子 robert870119 » 2007-05-13 21:15

nihui 写了:找到这一段:
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)


在其之下有几行
有这样的:
{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"
分别改成你所要下载文件保存的路径即可。 :roll: :wink:
好的,非常感谢!

最简单的,就是删除原目录。ln -s一个就是。我说的option里面有啊。web界面的设置。都不看。
很抱歉,我真的没找到。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#9

帖子 eexpress » 2007-05-13 21:46

● 鸣学
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#10

帖子 robert870119 » 2007-05-13 22:57

eexpress 写了:http://localhost:4080/
哈哈。
是的,我是在这个页面找过。。
可惜的是,选项很多,但是没找到我要找的。。
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#11

帖子 nihui » 2007-05-14 16:29

robert870119 写了:
eexpress 写了:http://localhost:4080/
哈哈。
是的,我是在这个页面找过。。
可惜的是,选项很多,但是没找到我要找的。。
呵呵,我也是的。
eexpress 真是不讲清楚。 :roll: :wink:
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
头像
cnshzj007
帖子: 685
注册时间: 2006-05-24 21:38
来自: 上海
联系:

#12

帖子 cnshzj007 » 2007-06-17 14:43

http://127.0.0.1:4080/
的settings 中哪里有可以改INCOMING的文件选项?哪里有?
我只是一个ARCH的FANS,来自RH和UBUNTU的滋润!
andrew_t
帖子: 614
注册时间: 2006-12-14 3:00

#13

帖子 andrew_t » 2007-06-18 1:19

直接ln -s 做个链接不就得了。。。我就是这么搞的
头像
hnzksq
帖子: 473
注册时间: 2007-07-11 16:21
来自: 火星

#14

帖子 hnzksq » 2007-12-09 9:14

andrew_t 写了:直接ln -s 做个链接不就得了。。。我就是这么搞的
怎么搞的?
------
“不要揣测神的心,我的孩子,”老头子的声音仿佛梦呓,“神的胸膛里没有心,那只是一块铁石。”
头像
foxcl
帖子: 199
注册时间: 2009-05-22 14:34
联系:

Re:

#15

帖子 foxcl » 2010-06-11 18:26

nihui 写了:找到这一段:
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)


在其之下有几行
有这样的:
{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"
分别改成你所要下载文件保存的路径即可。 :roll: :wink:
那个aaaaaa和bbbbbb 能设置为同个文件夹么??帮忙看下这个,谢谢


viewtopic.php?f=73&t=278400&p=1915049#p1915049
新手扫盲: viewtopic.php?f=48&t=241030&start=0
学习linux几点忠告: viewtopic.php?f=120&t=739
Say goodbye to Microsoft!
回复