src/HTTPClient/HTTPConnection.java
/**
     * PUTs the data into the specified file using the additional headers
     * for the request.
     *
     * @param     file     the absolute path of the file
     * @param     data     the data
     * @param     headers  additional headers
     * @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.
     * @see java.lang.String#getBytes()
     */
PUTs the data into the specified file using the additional headers
for the request.


PUTs the data into the specified file using the additional headers for the request .
public HTTPResponse Put(String file, String data, NVPair[] headers)
		throws IOException, ModuleException
    {
	byte tmp[] = null;
	if (data != null  &&  data.length() > 0)
	    tmp = data.getBytes();
	return Put(file, tmp, headers);
    }
public HTTPResponse Put ( String file , String data , NVPair [ ] headers ) throws IOException , ModuleException { byte tmp [ ] = null ; if ( data != null && data . length ( ) > 0 ) tmp = data . getBytes ( ) ; return Put ( file , tmp , headers ) ; }
PUTs the data into the specified file using the additional headers
 for the request.
PUTs the data into the specified file using the additional headers for the request .