LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-02-2010, 08:50 AM   #1
nguyenthaithuanmath
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
SFTP- Format message


Dear all friends,
I want to under stand SFTP, with some questions:
1. How to login SFTP sever by C/C++ with a TCP socket? That is meant format message to send to SFTP server ( TCP socket);

m_socket = socket( PF_INET, SOCK_STREAM, 0);
....
connect(,,) // connect to SFTP server

After that we must:

send( , message, , ) //send login message to SFTP server

What is the format "login message"?
 
Old 04-02-2010, 09:04 AM   #2
Jim44
Member
 
Registered: Feb 2006
Location: Atlanta, Georgia, USA
Distribution: Mint, Ubuntu, Centos
Posts: 57

Rep: Reputation: 15
Quote:
Originally Posted by nguyenthaithuanmath View Post
Dear all friends,
I want to under stand SFTP, with some questions:
1. How to login SFTP sever by C/C++ with a TCP socket? That is meant format message to send to SFTP server ( TCP socket);

m_socket = socket( PF_INET, SOCK_STREAM, 0);
....
connect(,,) // connect to SFTP server

After that we must:

send( , message, , ) //send login message to SFTP server

What is the format "login message"?
Take a look at this document.

http://tools.ietf.org/id/draft-ietf-...ilexfer-13.txt
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sftp error message rnturn Linux - Software 1 02-11-2010 01:52 PM
AIX syslogd message format nagendrar AIX 1 12-14-2009 12:50 AM
WAP PUSH Message Format RMLinux Programming 0 02-19-2009 01:24 AM
LXer: AIX Implementation of OpenPGP Message Format LXer Syndicated Linux News 0 10-19-2007 05:00 AM
When playing RealAudio I get an Unknown data format error message Notbobdylan Linux - Newbie 0 01-19-2004 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration