#include "OSResult.h"
#include "OSiLReader.h"
#include "OSiLWriter.h"
#include "OSrLReader.h"
#include "OSrLWriter.h"
#include "OSInstance.h"
#include "OSnLNode.h"
#include "FileUtil.h"
#include "ErrorClass.h"
#include "WSUtil.h"
#include "OSSolverAgent.h"
#include "CoinHelperFunctions.hpp"
#include <sstream>
#include <vector>
Include dependency graph for fileUpload.cpp:
Go to the source code of this file.
Functions | |
int | main (int argC, char *argV[]) |
In the case of large OSiL files it may not be desirable to use Web Services to send problem instances to the Web Server. This executable uses OSFileUpload Java Servlet to upload large files very quickly.
NOTE: In this example we have hard coded in the URL of the server http://128.135.130.17:8080/os/servlet/OSFileUpload the user will need to change this for their server
Definition in file fileUpload.cpp.
int main | ( | int | argC, | |
char * | argV[] | |||
) |
Definition at line 59 of file fileUpload.cpp.
References ErrorClass::errormsg, OSSolverAgent::fileUpload(), and FileUtil::getFileAsString().