aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO7
-rw-r--r--doc/man/gnunet-download.12
-rw-r--r--src/include/gnunet_fs_service.h10
3 files changed, 14 insertions, 5 deletions
diff --git a/TODO b/TODO
index 7d591bd42..49e647671 100644
--- a/TODO
+++ b/TODO
@@ -21,19 +21,18 @@ away), in order in which they will likely be done:
21 Also, core does not seem to actually decrement the number of active 21 Also, core does not seem to actually decrement the number of active
22 sessions even if no connections exist for a while! (likely related...) 22 sessions even if no connections exist for a while! (likely related...)
23 - transport reports bw quota violations on slow systems (core or 23 - transport reports bw quota violations on slow systems (core or
24 transport issue?) 24 transport issue? tracking issue or actual violation?)
25* DATASTORE: [CG] 25* DATASTORE: [CG]
26 - utilization can (easily, restart?) go out of control (very large), causing 26 - utilization can (easily, restart?) go out of control (very large), causing
27 content expiration job to go crazy and delete everything! 27 content expiration job to go crazy and delete everything!
28* FS: [CG] 28* FS: [CG]
29 - gnunet-publish uses 'NULL' for the file name when 29 - EASY BUGS:
30 publishing a directory (!) 30 + gnunet-download does not terminate when done (stop missing!)
31 - on some systems, keyword search does not find locally published content 31 - on some systems, keyword search does not find locally published content
32 (need testcase of command-line tools! - also good to cover getopt API!) 32 (need testcase of command-line tools! - also good to cover getopt API!)
33 [could be related to datastore issue above!] 33 [could be related to datastore issue above!]
34 - 2-peer download is still too slow (why?) 34 - 2-peer download is still too slow (why?)
35 - advanced FS API parts 35 - advanced FS API parts
36 + pick correct filenames for recursive downloads (mkdir, .gnd)
37 + support recursive download even if filename is NULL and we hence 36 + support recursive download even if filename is NULL and we hence
38 do not generate files on disk (use temp_filename) 37 do not generate files on disk (use temp_filename)
39 + bound parallelism (# fs downloads) 38 + bound parallelism (# fs downloads)
diff --git a/doc/man/gnunet-download.1 b/doc/man/gnunet-download.1
index 0db45aeb0..8fcfaf2b5 100644
--- a/doc/man/gnunet-download.1
+++ b/doc/man/gnunet-download.1
@@ -34,7 +34,7 @@ write the file to FILENAME. Hint: when recursively downloading a directory, app
34set the maximum number of parallel downloads that is allowed. More parallel downloads can, to some extent, improve the overall time to download content. However, parallel downloads also take more memory. The specified number is the number of files that are downloaded in parallel, not the number of blocks that are concurrently requested. As a result, the number only matters for recursive downloads. The default value is 32. 34set the maximum number of parallel downloads that is allowed. More parallel downloads can, to some extent, improve the overall time to download content. However, parallel downloads also take more memory. The specified number is the number of files that are downloaded in parallel, not the number of blocks that are concurrently requested. As a result, the number only matters for recursive downloads. The default value is 32.
35.TP 35.TP
36\fB\-R\fR, \fB\-\-recursive\fR 36\fB\-R\fR, \fB\-\-recursive\fR
37download directories recursively (and in parallel); note that the URI must belong to a GNUnet directory and that the filename given must end with a '/' \-\- otherwise, only the file corresponding to the URI will be downloaded. 37download directories recursively (and in parallel); note that the URI must belong to a GNUnet directory and that the filename given must end with a '/' \-\- otherwise, only the file corresponding to the URI will be downloaded. Note that in addition to using '-R', you must also specify a filename ending in '.gnd' so that the code realizes that the top-level file is a directory (since we have no meta data).
38.TP 38.TP
39\fB\-v\fR, \fB\-\-version\fR 39\fB\-v\fR, \fB\-\-version\fR
40print the version number 40print the version number
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 961dab4e2..6da6ce43e 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2376,6 +2376,16 @@ GNUNET_FS_meta_data_make_directory (struct GNUNET_CONTAINER_MetaData *md);
2376 2376
2377 2377
2378/** 2378/**
2379 * Suggest a filename based on given metadata.
2380 *
2381 * @param md given meta data
2382 * @return NULL if meta data is useless for suggesting a filename
2383 */
2384char *
2385GNUNET_FS_meta_data_suggest_filename (const struct GNUNET_CONTAINER_MetaData *md);
2386
2387
2388/**
2379 * Function used to process entries in a directory. 2389 * Function used to process entries in a directory.
2380 * 2390 *
2381 * @param cls closure 2391 * @param cls closure