The documentation for the Proxy property on the FtpWebRequest class
states:
The FtpWebRequest class supports HTTP and ISA Firewall Client proxies.
This leads me to believe that these are the only proxies it supports.
Also, when using an HTTP proxy, you are limited to the methods that you
can use:
If the specified proxy is an HTTP proxy, only the DownloadFile,
ListDirectory, and ListDirectoryDetails commands are supported.
I don't know if it supports an FTP proxy, but you might try and create a
URI with the FTP scheme, address, and port, and pass that to your WebProxy
instance and see if that works.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Hi,
> I have to upload files on a ftp server through a ftp proxy with
[quoted text clipped - 32 lines]
>
> FtpWebResponse^ response = (FtpWebResponse^)request->GetResponse();
squall - 23 Jan 2008 16:59 GMT
Thanks for your response.
I tried your solution, but it doesn't work, I have this message :
'System.NotSupportedException', "ftp scheme proxies are not supported
by ServicePointManager". (I hope this is a good traduction, I'm french
and my Visual Studio is in French :) )
Do you know another class instead of FtpWebRequest, allowing me to do
a ftp request through a ftp proxy ?
On 23 jan, 17:16, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> The documentation for the Proxy property on the FtpWebRequest class
> states:
[quoted text clipped - 53 lines]
>
> > FtpWebResponse^ response = (FtpWebResponse^)request->GetResponse();
Nicholas Paldino [.NET/C# MVP] - 23 Jan 2008 17:15 GMT
squall,
I don't know of another class that will let you use an FTP proxy, at
least in the framework. You will probably have to look for some third-party
provider in order to find something that will allow you to do this.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Thanks for your response.
> I tried your solution, but it doesn't work, I have this message :
[quoted text clipped - 66 lines]
>>
>> > FtpWebResponse^ response = (FtpWebResponse^)request->GetResponse();
squall - 04 Feb 2008 17:30 GMT
Hi,
Finally I use a batch file (.bat) called in my code.
It's not a very good solution, but it work !
Thanks for your help
On 23 jan, 18:15, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> squall,
>
[quoted text clipped - 80 lines]
>
> >> > FtpWebResponse^ response = (FtpWebResponse^)request->GetResponse();