Hi, I have a file opened FILE *fcp; fcp = fopen(file_to_save, "wb"); while (ap_get_brigade(rp->input_filters, bb, AP_MODE_READBYTES, APR_BLOCK_READ, conf->io_buffer_size) == APR_SUCCESS) { //I want to save the data to the file //How can i do that???? //fwrite(????????); //fflush(????????); } Thanks in advance! Manos Moschous