Sign in to follow this  
kappa

[.net] Using the IE ftp programatically?

Recommended Posts

I have a question that I haven't got an answer to, I need my program to be able to upload an image file. I was hoping that I could programatically use the ftp that is built into internet explorer so that I didn't have to write my own from scratch, I wrote a quick program to see if this could actually be done, but I couldn't get it to work.
FileInfo fi = new FileInfo(openFileDialog.FileName);
                
                fi.MoveTo("ftp://xxxxxx:xxxxxx@xxxxxxxxxx.net/" + openFileDialog.FileName.Remove(0,3));

Is there a way to do this? or should I give up and start writing my own?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this