FTP CD command
- From: "Lou" <lou.garvin@xxxxxxxxxxx>
- Date: Fri, 20 Feb 2009 22:57:00 -0500
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
.
- Follow-Ups:
- Re: FTP CD command
- From: Andrew Morton
- Re: FTP CD command
- From: Michel Posseth [MCP]
- Re: FTP CD command
- Prev by Date: Re: Is linq the final straw for VB?
- Next by Date: Re: Upgrading to VB.Net
- Previous by thread: "multipart/form-data" in vb2005
- Next by thread: Re: FTP CD command
- Index(es):
Loading