Results 1 to 4 of 4

Thread: How to establish SFTP Connections

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Location
    Philippines
    Posts
    70

    How to establish SFTP Connections

    Hi everyone,

    Im currently doing a module which needs to transfer files trough FTPS. I'm researching for sample codes but these annoying terminologies leads me to nowhere. can someone give me tips, what to dos and the right keyword to search. Thanks. by the way Im doing it on a Windows App Environment using VS 2008 C#. <-- please correct me if I'm wrong... this module is the last part of our project, so please help me guys. THANKS

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

    Re: How to establish SFTP Connections

    The .NET Framework supports the FTP protocol but SFTP is a different protocol that is, as far as I'm aware, unsupported by the .NET Framework. As such, you will need to make low-level connections using a Socket object and then implement the protocol yourself, i.e. prepare the data in the correct format and send it using your Socket. You'll need to read up on the specifics of the SFTP protocol and also the use of the .NET Socket class.
    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Location
    Philippines
    Posts
    70

    Re: How to establish SFTP Connections

    PHP Code:
    How sad.. but thanks for you reply anyway... lots of sample codes are downloadable but non of them are working... thanks again... i hope somebody will come and help me on this... THANKS again 

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

    Re: How to establish SFTP Connections

    So you've got lots of sample code and you hope someone will help you, yet you've chosen not to show us any of the code you're using and explain what issues you're having with it. Doesn't sound like the best way to get help to me.
    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