Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Elleah

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

Elleah wrote:

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 perfrom this procedure? Please advise.

Your help will be greatly appreciated. Thanks in Advance.

Best Regards,
Elleah


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 isnt 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
Elleah

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 perfrom this procedure? Please advise.

Your help will be greatly appreciated. Thanks in Advance.

Best Regards,
Elleah