LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2004, 05:51 PM   #1
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
sftp - stuck in the middle


I'm trying to initiate a file transfer from one computer to another. I have access to both but am using a 3rd computer. I'd rather not transfer the file to myself and then upload it. Is there a way I can initiate a file transfer from computer 1 to computer 2 from computer 3? I thought about using sftp but the path I need to get to (OSX box) is /Shared Items/Public and sftp doesn't seem to like the space. I've even tried cd /Shared\ Items/ but that didn't fly either. Any suggestions?
 
Old 10-17-2004, 09:03 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
Not tried this, but it may well work:

From PC3, log in remotely to PC1 or PC2 using SSH (ssh <user>@<ip address>). This will give you access to the command line on one of the other PCs, from where you can launch sftp to connect to the other PC.

File or directory names with spaces in them can be accessed by enclosing the name in inverted commers - i.e. "Shared files" - although this does not work as part of a file path, so instead of typing cd gerald/"Shared files" you would need to use two cd commands. Where I can, I'm gradually changing filenames to remove the spaces.

Hope this helps,
Rob.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
middle button Starch Linux - Newbie 5 06-29-2005 09:39 PM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Middle Mouse darkjedi8359 Mandriva 2 01-19-2005 02:05 AM
Strange 'X' stuck in the middle of the screen on XFree86 4.3 + Gnome 2.4 gtavares Fedora 0 01-04-2004 09:09 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 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
Open Source Consulting | Domain Registration