View Single Post
Old 03-04-2008   #4 (permalink)
Bushman


 
 

Re: List FTP Directories

On Feb 20, 7:31*pm, Hal Rottenberg <h...@xxxxxx> wrote:
Quote:

> Bushmanwrote:
Quote:

> > I am writing a script to manage an FTP site, after some research i
> > found two clases in .NET, webclient and ftpwbrequest. i got stuck in
> > the ftpwebrequest.method assignment so i decided to use webclient.
>
> I'm not sure how far you can get with webclient, it really doesn't have a lot to
> offer here. *I think any listing you could get back would be in the formof the
> string representation that is seen in IE when you go to an FTP site. *Inother
> words, $wc.downloadstring().
>
> So what steered you off of ftpclient? *We can work on that if you want. *Or you
> can go the netcmdlets route, those cmdlets are pretty neat.
>
> --
>
> Hal Rottenberg
> Blog:http://halr9000.com
> Webmaster, Psi (http://psi-im.org)
> Co-host, PowerScripting Podcast (http://powerscripting.net)
Do you know an ftp client i can script? i am trying to use powershell
for all my scripting if possible.
My System SpecsSystem Spec