Topic "Uploading a File using CGI script"

Author Message
Elleah

Guest


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
Elleah

Guest


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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License