• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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!

0
RMAHelpDesk
Asked:
RMAHelpDesk
  • 3
  • 3
1 Solution
 
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
 
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now