src/HTTPClient/HTTPConnection.java
/**
     * POSTs the data written to the output stream to the specified file.
     * The request is sent using the content-type "application/octet-stream"
     *
     * @param     file   the absolute path of the file
     * @param     stream the output stream on which the data is written
     * @return    an HTTPResponse structure containing the response
     * @exception java.io.IOException when an exception is returned from
     *                                the socket.
     * @exception ModuleException if an exception is encountered in any module.
     */
POSTs the data written to the output stream to the specified file.
The request is sent using the content-type "application/octet-stream"

@param     file   the absolute path of the file
@param     stream the output stream on which the data is written
@return    an HTTPResponse structure containing the response
@exception java.io.IOException when an exception is returned from
the socket.
@exception ModuleException if an exception is encountered in any module.
POSTs the data written to the output stream to the specified file . The request is sent using the content - type " application / octet - stream " @param file the absolute path of the file @param stream the output stream on which the data is written @return an HTTPResponse structure containing the response @exception java . io . IOException when an exception is returned from the socket . @exception ModuleException if an exception is encountered in any module .
public HTTPResponse Post(String file, HttpOutputStream stream)
		throws IOException, ModuleException
    {
	return Post(file, stream, null);
    }
public HTTPResponse Post ( String file , HttpOutputStream stream ) throws IOException , ModuleException { return Post ( file , stream , null ) ; }
POSTs the data written to the output stream to the specified file.
POSTs the data written to the output stream to the specified file .