Function saveAs

Synopsis

#include <lib/inc/drogon/MultiPart.h>

int saveAs(const std::string &filename) const

Description

Save the file to file system with a new name.

Parameters

filename - if the parameter isn't prefixed with "/", "./" or "../", the full path is app().getUploadPath()+"/"+filename, otherwise the file is saved as the filename

Source

Line 66 in lib/inc/drogon/MultiPart.h.






Add Discussion as Guest

Log in