help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] File Upload


From: Ahmad Issa
Subject: [help-cgicc] File Upload
Date: Tue, 13 Oct 2015 11:27:23 +0300

Hi,

uploading large files eating all my memory, and its failing to upload files when file bigger than my memory.


    const_file_iterator file;
    file = cgi.getFile(post);
    if(file != cgi.getFiles().end())
    {
        ofstream out(pathToSave);
        file->writeToStream(out);
        out.close();
    }

is there any other way to do it.

thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]