Skip to content
Snippets Groups Projects
Commit e6d44997 authored by Marco De Marco's avatar Marco De Marco
Browse files

Filesize fix

parent 9448d917
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,7 @@ ResponseSP ProtocolManager::prepareTransfer(RequestSP request_sp)
transferRes->set_file_path(filePath);
transferRes->set_file_version(fileVersion);
transferRes->set_file_name(fileName);
transferRes->set_size(boost::filesystem::file_size(pathStream.str()));
transferRes->set_size(boost::filesystem::file_size(absPath));
transferRes->set_state(Response::Transfer::ACCEPTED);
transferRes->set_status("File found");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment