By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

WebRequest Connecting to FTP

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://support.microsoft.com/default...en-us%3B812404

easy, breezy, beautiful cover girl.

;^)

hth,

steve
"Dennis Powell" <de***********@monroe.army.mil> wrote in message
news:uq**************@TK2MSFTNGP11.phx.gbl...
| 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
|
|
|
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.