diff --git a/client/file_xfer.cpp b/client/file_xfer.cpp index 08b1a85560..0c72c70feb 100644 --- a/client/file_xfer.cpp +++ b/client/file_xfer.cpp @@ -61,6 +61,12 @@ FILE_XFER::~FILE_XFER() { int FILE_XFER::init_download(FILE_INFO& file_info) { is_upload = false; fip = &file_info; + + // create subdirs of project dir if needed + // + int retval = boinc_make_dirs(fip->project->project_dir(), fip->name); + if (retval) return retval; + get_pathname(fip, pathname, sizeof(pathname)); if (fip->download_gzipped) { safe_strcat(pathname, ".gzt");