LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2011, 09:30 AM   #1
karthik.m.kuttan
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Question send a file using the sftp syntax


i understand how to get a file from an another computer using the sftp syntax

userB@comp1 :~sftp userB@comp2
sftp> cd Desktop
sftp> get abc(file)

so i can get the file abc from comp2 to comp1

but how can I send a file cba from comp1 to comp2 using the sftp(I am still using comp1)
 
Old 03-24-2011, 09:32 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,498
Blog Entries: 10

Rep: Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647Reputation: 1647
"put <file>"

Try typing help at the sftp prompt and it will give you command help.
 
Old 04-01-2011, 05:52 AM   #3
karthik.m.kuttan
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you. God Bless you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] how to send the output of send command to a file auma78 Linux - Newbie 2 01-23-2011 01:06 AM
SFTP throwing "End of file" when doing SFTP transfer in perl exceed1 Programming 5 03-06-2010 02:34 PM
python syntax: how to send chracter to buffer? hocheetiong Programming 1 11-23-2009 09:40 AM
Create File Shell Syntax and pass data to the file FirstBorn Linux - General 22 07-31-2008 10:48 PM
Is there a way to send files to a friend, similar to MSN send file protocol? pablom Linux - Networking 1 05-07-2007 11:16 PM


All times are GMT -5. The time now is 10:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration