How copy a local file to a ftp server

I have a local powerpoint presentation that I want to upload to a ftp server.  The server requires a username and password to connect.  Does anynody have a simple code sample of how to do this?  Thanks for the help!

RMAHelpDeskAsked:
Who is Participating?
 
heintalusCommented:
It's a free download from Microsoft, I though I'd put the dll required in the project directory 8(

You can get the power pack from the link below or just use the code as a sample for creating your own project without using the blend panel from the powerpack.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbpowerpack.asp
0
 
heintalusCommented:
Check out the link below, you'll find a sample app I created using some example code from MS for uploading files using FTP, theres also another example there for downloading.

http://www.vbcity.com/forums/topic.asp?tid=72390&page=1

HTH
Andy
0
 
RMAHelpDeskAuthor Commented:
The sample app gets an error it is looking for VbPowerPack?  
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
RMAHelpDeskAuthor Commented:
OK I loaded the power pack and the errors went away, however when I use this to upload my power point presentation to the server the file becomes un-useable.  I had a simular problem using the command line ftp.  I fixed it by changing to binary mode.  Is there a way to do the sam here?
Thanks
0
 
heintalusCommented:
0
 
RMAHelpDeskAuthor Commented:
That fixed the problem!
Thanks for the help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.