Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to a FTP using the proxy-server

Status
Not open for further replies.

RedLion

Programmer
Sep 13, 2000
342
NL
Hi, I've written an application for a Windows client that is behind a ISA-server. Now this client has to upload some files to a FTP server outside the ISA server, doing so the client has to use the standard proxy-server installed by default on the ISA server to connect to the Internet where this FTP server is living.

The question now is what windows API should I use? When there is no proxy server between I use from the wininet.dll the InternetOpen, InternetConnect and FtpPutFile functions. And I can't figure out what functions I should use to go through the proxy server, can I use the same functions, but what about the parameters than? Or other functions?

Any help or point into the right direction is helpful!

Thanks in advance,

Charl
 
Are you asking how to let it through the firewall... or what commands to use to execute the ftp executible you created? If you are asking to allow ftp to the site through the firewall.... Do the following.

In ISA Server 2004, under Firewall Policy, locate the rule which allows FTP Outbound Access Right click and select Configure FTP. Uncheck the Read Only option, which will then allow FTP uploads once applied.


MCP ACA-I CTP
 
Thanks for your response GigaG!

No, I am asking for commands to use in my application, because I can't get it to work, and in the Visual FoxPro forum they also don't know the answer. That's why I turned to this forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top