WebRequest Connecting to FTP

D

Dennis Powell

Can anyone show me an example of connecting to an FTP server with a
WebRequest object. According to the help file it can be done but, I can't
find any example of how to do this anywhere.

When I try:
Dim wr As WebRequest = WebRequest.Create(ftp://ftp.microsoft.com)
it throws an exception: URI prefix not recognized.

One of the methods of the Web Request object is RegisterPrefix but, again
there is no example just a very brief description.

I thought the MSDN CD's that came with Visual Studio 6 were pretty usefull.
The "help" that comes with VS .Net couldn't be any more useless if they
tried.

Any help would be greatly appreciated.

Thanks
 
S

steve

http://support.microsoft.com/default.aspx?scid=kb;en-us;812404

easy, breezy, beautiful cover girl.

;^)

hth,

steve


| Can anyone show me an example of connecting to an FTP server with a
| WebRequest object. According to the help file it can be done but, I can't
| find any example of how to do this anywhere.
|
| When I try:
| Dim wr As WebRequest = WebRequest.Create(ftp://ftp.microsoft.com)
| it throws an exception: URI prefix not recognized.
|
| One of the methods of the Web Request object is RegisterPrefix but, again
| there is no example just a very brief description.
|
| I thought the MSDN CD's that came with Visual Studio 6 were pretty
usefull.
| The "help" that comes with VS .Net couldn't be any more useless if they
| tried.
|
| Any help would be greatly appreciated.
|
| Thanks
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top