Ignore:
Timestamp:
2006-09-20T15:26:17+12:00 (18 years ago)
Author:
davidb
Message:

Changes to make depositor action work under Windows. Main change is to
make sure 'standard input' is in binary mode before MIME multi-part posts
are parsed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/depositoraction.cpp

    r12576 r12794  
    270270
    271271  fileupload_t *fileupload = args.getargfile("di1userfileinfo");
     272
    272273  if (fileupload != NULL) {
     274
    273275    if (!(*fileupload).tmp_name.empty() && file_exists((*fileupload).tmp_name)) {
    274276      // create the timestamp
    275277      time_t timestamp = time(NULL);
    276278      text_t timestamp_str(timestamp);
     279
    277280      args["di1timestamp"] = timestamp_str;
    278281
     
    634637    cerr << "Unable to copy " << tmpfile << " to " << filename << endl;
    635638      }
    636       cerr << "*** filename = " << filename_textt << endl;
    637639     
    638640      //write the metadata file
Note: See TracChangeset for help on using the changeset viewer.