Re: FtpWebRequest



The FtpWebRequest class certainly does support this command.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Peter Bromberg [C# MVP]" <pbromberg@xxxxxxxxxxxxxxxxxxx> wrote in message
news:3C9683BF-C4A7-4D3F-9861-4B6AF05A8DAA@xxxxxxxxxxxxxxxx
> José,
> In order to change directories you would need to be able to send the FTP
> command for that, and I'm not sure if FTPWebRequest provides this
> functionality.
>
> See my answer to the "Simple FTP Request" post a few posts before yours
> about the EnterpriseDT FTP.ENT library.
>
> --Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "jose.lopes.cruz@xxxxxxxxx" wrote:
>
>> I need to access a FTP Server. I'm using FTPWebRequest as described in
>> visual studio 2005 documentation.
>> Everything works fine except the following:
>>
>> 1) I dont know how to change de current working directory on the server
>> to the parent directory?
>> 2) Why cant I do this, or why doesn't work? In Internet explorer works!
>>
>> <some code...for FtpWebRequest>
>>
>> FtpWebRequest ....Create("ftp://192.168.1.4/../ret";);
>>
>>
>> thanks
>> José Cruz
>>
>>


.



Relevant Pages

  • Re: how use FtpWebRequest class to access different directory ?
    ... Dave Sexton wrote: ... "The Method property determines which command is sent to the server. ... but I don't think it can be done using FtpWebRequest. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FtpWebRequest
    ... "You can set Method to any command recognized by the server and use the ... FtpWebRequest object to send the command. ... "Kevin Spencer" wrote: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ftp from Access: problems
    ... Your wish is my command. ... See the FtpWebRequest and FtpWebResponse ... >accessing ftp instead of us having to resort to script files? ...
    (comp.databases.ms-access)
  • Re: how use FtpWebRequest class to access different directory ?
    ... Dave Sexton ... I have a quick question when i use the FtpWebRequest. ... Connect a FTP server,check whether there is a folder ... If use the command line to do that,it just use the "CD" command ...
    (microsoft.public.dotnet.languages.csharp)

Loading