Internet Transfer Control in VB.net

Richie

Newcomer
Joined
Feb 20, 2003
Messages
16
Location
Pittsburgh, PA
Has anyone used the Internet Transfer Control in VB.net? I need an example of how this is used. Can anyone point me to an example on the web or elsewhere?

Thanks
 
In dot net the idea has been to move away from ActiveX controls look at the Socket name space

What are you trying to do????

Andy
 
what im trying to do

I just want to build an application that browses to 1 ftp site (always the same one), downloads files, then disconnects. what do you suggest for this? I want to be able to schedule this program to run nightly.
 
Andy,

I can't seem to find where the url is specified in the code. Where is this specified? When I run the program and push the update button, i get a msg that says the remote name could not be found. how come?
 
the idea is you create a update.dat will the urls to download and put this on the HTTP server...

Every time you hit update providing you have setup the settings.ini the update.dat file is downloaded then all files specified in the update.dat are downloaded. I can put together a simpler example if you like

Andy
 
thanks

thanks andy. that would be great if you could. i don't want you to do anything that will consume too much of your time though. this is a HUGE help! thanks
 
Thanks Again

This application is really neat. I got it to work with another http site, but when I try to do with an ftp site, I get msg box that says The URI prefix is not recognized. I'm gonna see if I can figure out why. I use a url like:

Dim DownloadURL As String = "ftp://ofacftp.treas.gov/fac_delim/"

I wonder if I would have to include the login and password - it's an anonymous login, so I didn't think I would have to.

Thanks for all of your help!
 
see reason why ftp isnt working

from msdn:

Note By default, the .NET Framework supports URIs that begin with http:, https:, and file: scheme identifiers.

im gonna keep reading and see if there is a way to use ftp too.
 
Transfer file with Login and Password details

Here is a modified version of the above application to allow for login username and password if necessary.

Also am looking for FTP transfer. If anyone finds, please post.

Cheers

Jason

[edit] Binaries removed [/edit]
 
Last edited by a moderator:
Re: Basic downloader

Hi

Your Codeing is Good and working Fine How can i Upload a File to the Web Directory There is any user rights i wll setup on Domain.

Pls give me idea on that.

Thanks and Regards.

P.Ponvannan
 
Back
Top