FTP CD command



I need to FTP to a server and give it a directory name. I never know where
the directory is
in relation to the root director so I have to do a "CD Dir"
The VB6 iNet control works like a charm but I can't for the life of me
figure out how this is done
in .NET. I scoured Google and found a ton a folks with the same issue so
this is my last hope.

VB6 iNet control code
iNet1..Execute , "CD " & myDir

works like a charm, MUST be a .NET equivalent for something so simple and
widely used....I Hope.
I did find an "Execute" method in FTP WebRequest but it doesn't except the
"CD" command as a string parameter.

-Lou


.


Loading