I've written once an application that uploads some files to a FTP server on the Internet. I did this using the nice code from this FAQ faq184-3234 . But the problem now is that one company has placed a ISA 2004 server (Microsoft Internet Security and Acceleration Server 2004) in their network environment, and to make outside calls to the Internet you should use the proxy-server from the ISA server. And with the code from this FAQ I can't get it to work.
I've searched the Internet and I can't find so much information about uploading files using FTP to the Internet. One article I found was this one and it explains how to read a file through a proxy using FTP. But I have no idea how to go from this point on to upload a file. As far as I understand from this article it is possible to set within Internet Explorer going to Extra->Internet settings->Connection->Lan settings and then give up a proxy server. Using this way of proxies is called CERN-based proxies and then the following figure comes in place
I've read the API documentation if I could find something interesting for me, but as far as I understand it all doesn't apply for me...
Can someone please help me, or at least point me into a direction?
Thanks in advance,
Charl
I've searched the Internet and I can't find so much information about uploading files using FTP to the Internet. One article I found was this one and it explains how to read a file through a proxy using FTP. But I have no idea how to go from this point on to upload a file. As far as I understand from this article it is possible to set within Internet Explorer going to Extra->Internet settings->Connection->Lan settings and then give up a proxy server. Using this way of proxies is called CERN-based proxies and then the following figure comes in place
Code:
Get ftp://host.com/root/test.doc HTTP 1.0 FTP Request
|=========| |=============| |=============|
| |---------------->| Cern-based |--------->| |
| Client | HTTP | Proxy Server| FTP | Ftp Server |
| |<----------------| |<---------| |
|=========| |=============| |=============|
HTTP/1.0 200 <document> FTP Response
I've read the API documentation if I could find something interesting for me, but as far as I understand it all doesn't apply for me...
Can someone please help me, or at least point me into a direction?
Thanks in advance,
Charl