LinuxQuestions.org
Review your favorite Linux distribution.
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 06-20-2007, 10:49 PM   #1
nexisrocks
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
SFTP Help


I need to transfer files from my computer (would that be the local host?) to a remote server which I connect to with ssh using X11 tunneling. I would like to do it through SFTP, however I cannot figure out how to locate the files on my computer -- I have been logging onto the remote server then logging onto SFTP using the username/password of the remote server (ace-net).

Would I use the put or get command to take files from my computer? And how do I locate the files on my computer? Is there a special command I must use? The files I need are located in the directory C:\CBM .

Any help is appreciated!
 
Old 06-20-2007, 11:08 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,578
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
C:\CBM implies you are on a Windows (or less likely a DOS) system.

Rather than using sftp from Windows you should download WinSCP and use it to login to the remote system. You use the same user and password as you do for ssh. WinSCP will give you Explorer type windows where you can drag the files from your local system to the remote one just as you would as if you were doing it from one folder to another on the local system.
 
Old 06-21-2007, 09:57 AM   #3
nexisrocks
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Oh, perfect - thank you!

Yeah, I'm on a Windows machine but the remote server I'm working with is a Linux machine.
 
Old 06-21-2007, 10:11 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,578
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
Right. That's what I use WinSCP for - doing scp/sftp transfers from Windoze to Linux (or vice versa - once you open the WinSCP connection you can drag the files from remote to local too).
 
  


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
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 10:14 PM
sftp mazza76 Linux - Enterprise 8 04-08-2005 06:13 PM
SFTP Help szahri Linux - Newbie 1 03-18-2005 02:11 PM
Sftp mitchb Linux - Newbie 4 08-25-2004 07:00 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 11:29 AM


All times are GMT -5. The time now is 09:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration