[C编程在Linux上]CGI实现内存内容下载

用printf语句打印一下内容

    printf("Content-Type: application/octet-stream-dummy\n");
    printf("Content-Disposition: filename=%s\n\n", dwnFileName[0]);
    fwrite(comtbp, sizeof(struct stcomtb), 1, stdout);
posted @ 2012-04-12 19:08  邵贤军  阅读(342)  评论(0编辑  收藏  举报