summaryrefslogtreecommitdiff
path: root/src/SingleFileDownloadContext.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-11-05 15:13:55 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-11-05 15:13:55 +0000
commit52b43151c62f52cff557f126fcd7062559b09e0e (patch)
tree0f7b8ec924b993a9770bfe6331971add42e6ce3f /src/SingleFileDownloadContext.h
parentbcbadb3b6b5eb18f5d17797a22977b6d44c85a81 (diff)
2007-11-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Now a file is stored in the directory specified in .metalnk file (file[@name]). * src/Metalink2RequestGroup.cc Create the directory structure when opening the file if it doesn't exist. * src/AbstractDiskWriter.cc * src/Util.{h, cc} * src/File.h * test/UtilTest.cc Removed file name comparison * src/Metalink2RequestGroup.cc * src/HttpResponseCommand.cc Rewritten using Util::mkdirs() * src/FileEntry.cc (setupDir) * test/FileEntryTest.cc Updated doc * src/SingleFileDownloadContext.h
Diffstat (limited to 'src/SingleFileDownloadContext.h')
-rw-r--r--src/SingleFileDownloadContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SingleFileDownloadContext.h b/src/SingleFileDownloadContext.h
index f980fb5e..43a9d403 100644
--- a/src/SingleFileDownloadContext.h
+++ b/src/SingleFileDownloadContext.h
@@ -46,6 +46,10 @@ private:
* If _ufilename is not zero-length string, then _dir + _ufilename.
*/
FileEntryHandle _fileEntry;
+ /**
+ * _filename and _ufilename may contains directory path name.
+ * So usr/local/aria2c is acceptable here.
+ */
string _filename;
string _ufilename;