Uploading a File using CGI script

Advertisement

Elleah
Guest

Uploading a File using CGI script

Hi There,

I was a Newbie in WinSCP so please bear with me.

I have an application which works fine when I upload a file on our webserver using my application written in VBA and having an HTTP ActiveX control. I have used a CGI script to do the trick of uploading the file on the server.

I am doing a test right now if the same application I've developed can work in WinSCP. I was able to successfully connect to the server, I was able to check if the file exists on the server. In short I can access the server. But what puzzles me is that when I upload the file, although the response from the server using my HTTP ActiveX control is successful, the file was not successfully uploaded into the server. I also wasn't able to successfully edit my log file. I have the full access control on the folder and I can successfully execute the CGI script.

I am just wondering what I have missed. Is it possible to upload on the WinSCP using the CGI script or I really need to follow the WINSCP scripting to perform this procedure? Please advise.

Your help will be greatly appreciated. Thanks in Advance.

Best Regards,
Elleah

Reply with quote

Advertisement

Elleah
Guest

Re: Uploading a File using CGI script - Succeeded but?

Hi,

Sorry to keep annoying you.

After making some experiment and test with HTTP Wizard and WinSCP, I was already able to upload file using the HTTP Wizard on the WinSCP. But one thing that puzzles me is that the I can already upload a file with correct file details, the size,date/time of the file is correct but the filename isn't correct. The filename given is in fact the filename of other files that I have uploaded before or deleted on the server already. And it happens randomly. I was trying to check the cause right now, I am just wondering if you have any idea why does it happen? What seems to be wrong?

Your help in advance will be greatly appreciated. Looking forward for your feedback on this.

Thanks & Regards,
Elleah

Reply with quote

Advertisement

You can post new topics in this forum