/home/coin/SVN-release/OS-1.0.0/OS/examples/fileUpload/fileUpload.cpp File Reference

#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[])


Detailed Description

Author:
Robert Fourer, Jun Ma, Kipp Martin,
Version:
1.0, 10/05/2005
Since:
OS1.0
Remarks:
Copyright (C) 2005, Robert Fourer, Jun Ma, Kipp Martin, Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Common Public License. Please see the accompanying LICENSE file in root directory for terms.

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.


Function Documentation

int main ( int  argC,
char *  argV[] 
)

Definition at line 59 of file fileUpload.cpp.

References ErrorClass::errormsg, OSSolverAgent::fileUpload(), and FileUtil::getFileAsString().


Generated on Thu May 15 22:15:06 2008 by  doxygen 1.4.7