Results 1 to 3 of 3

Thread: Uploding files to ftp

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2004
    Posts
    237

    Angry Uploding files to ftp

    I have written a database application. In that, there is a feature of offsite database backup. I need to upload the database to ftp server.


    How can I upload the database to ftp? Can anyone suggest some code that can do this.

    Please help and guide.
    software engineer

  2. #2
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: Uploding files to ftp

    in .NET 2.0 you can use the FTP Classes. take a look at the documentation and the System.Net namespace
    ;-)

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Uploding files to ftp

    As Techno says, but more specifically, take a look at the help topic for the FtpWebRequest.GetRequestStream method. It has an appropriate code example.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width