#include <afxdtctl.h>
#include <Windows.h>
#include <WinINet.h>
#include <stdio.h>
BOOL UseHttpSendReqEx(HINTERNET hRequest, DWORD dwPostSize,CString strLocalFile);
BOOL Upload(CString bstrLocalFile,CString bstrServerIP,CString strServerPort,CString bstrRemoteFile);
#define BUFFSIZE 500
void main( int argc, char **argv )
{
if (argc < 5)
{
printf("Usage: Bigpost <LocalFile> <ServerIP><ServerPort><ReomteFile>/n");
printf("<LocalFile> is the local file to POST/n");
printf("<ServerIP> is the server's IP to POST to/n");
printf("<ServerPort> is the server's Port to POST to/n");
printf("<ReomteFile> is the virtual path to POST to/n");
exit(0);
}
Upload(argv[1],argv[2],argv[3],argv[4]);
}
BOOL UseHttpSen
#include <Windows.h>
#include <WinINet.h>
#include <stdio.h>
BOOL UseHttpSendReqEx(HINTERNET hRequest, DWORD dwPostSize,CString strLocalFile);
BOOL Upload(CString bstrLocalFile,CString bstrServerIP,CString strServerPort,CString bstrRemoteFile);
#define BUFFSIZE 500
void main( int argc, char **argv )
{
if (argc < 5)
{
printf("Usage: Bigpost <LocalFile> <ServerIP><ServerPort><ReomteFile>/n");
printf("<LocalFile> is the local file to POST/n");
printf("<ServerIP> is the server's IP to POST to/n");
printf("<ServerPort> is the server's Port to POST to/n");
printf("<ReomteFile> is the virtual path to POST to/n");
exit(0);
}
Upload(argv[1],argv[2],argv[3],argv[4]);
}
BOOL UseHttpSen