Link to home
Start Free TrialLog in
Avatar of RMAHelpDesk
RMAHelpDesk

asked on

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!

Avatar of heintalus
heintalus

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
Avatar of RMAHelpDesk

ASKER

The sample app gets an error it is looking for VbPowerPack?  
ASKER CERTIFIED SOLUTION
Avatar of heintalus
heintalus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
That fixed the problem!
Thanks for the help