Ninj
03-07-2005, 07:56 PM
I have been trying to submit data to my web server using the HTTP.Submit action as shown in my code below:
local SubmitFName = "";
myValues = { filesfolder="/secure/rp", OpCode=2, filesize=5, logfile="LogFile.txt", nameoffile="D:\\Nina\\Test 021204\\System\\irunin.ini" };
SubmitFName = HTTP.Submit("http://www.myserver.com/cgi-bin/FullCGI.cgi", myValues, SUMBITWEB_GET, 20, 80, nil, nil);
FullCGI.cgi is a script in the server that is supposed to upload a file (in this case, irunin.ini) and write to a log file, LogFile.txt.
After running the Update application and when I check my web server, the file is not uploaded and there's no log in the log file. And there is no error message at all. Server Response is also blank.
I am not sure if this is a bug or maybe I am just missing something here but
submitting this through the IE browser ('http://www.myserver.com/cgi-bin/FullCGI.cgi?filesfolder=/secure/rp&OpCode=2&filesize=5&logfile=LogFile.txt&nameoffile=D:\Nina\Test 021204\System\irunin.ini') is always successful.
Btw, I've already posted this in the beta testing forum but I cannot find the forum now and I still need help with this.
local SubmitFName = "";
myValues = { filesfolder="/secure/rp", OpCode=2, filesize=5, logfile="LogFile.txt", nameoffile="D:\\Nina\\Test 021204\\System\\irunin.ini" };
SubmitFName = HTTP.Submit("http://www.myserver.com/cgi-bin/FullCGI.cgi", myValues, SUMBITWEB_GET, 20, 80, nil, nil);
FullCGI.cgi is a script in the server that is supposed to upload a file (in this case, irunin.ini) and write to a log file, LogFile.txt.
After running the Update application and when I check my web server, the file is not uploaded and there's no log in the log file. And there is no error message at all. Server Response is also blank.
I am not sure if this is a bug or maybe I am just missing something here but
submitting this through the IE browser ('http://www.myserver.com/cgi-bin/FullCGI.cgi?filesfolder=/secure/rp&OpCode=2&filesize=5&logfile=LogFile.txt&nameoffile=D:\Nina\Test 021204\System\irunin.ini') is always successful.
Btw, I've already posted this in the beta testing forum but I cannot find the forum now and I still need help with this.