Bushman wrote:
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 form of the
string representation that is seen in IE when you go to an FTP site. In other
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)