Append using sftp or scp?

Place to discuss Fedora and/or Red Hat

Append using sftp or scp?

Postby ZiaTioN » Wed Sep 06, 2006 9:12 am

Any ideas on how? I have read that sftp supports appending but cannot find it anywhere in the man pages or via the all knowing Google.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Wed Sep 06, 2006 9:14 am

I use rsync via ssh for that. I wasn't aware that scp supports it but I'll do some digging.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Wed Sep 06, 2006 9:19 am

Well according to what I have read scp does not but sftp does.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Wed Sep 06, 2006 9:24 am

Can you share what you have with the rest of us? Why not use rsync?
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Wed Sep 06, 2006 9:25 am

What I have? I am not sure what you mean by that. Rsync, sure... How?
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Wed Sep 06, 2006 9:35 am

By "what you have" I mean where did you read that sftp was capable of it? rsync is very easy and works much like scp:

rsync -av -e ssh remoteserver:/directory/file localfile

It may need the --append switch but I don't think so.

$ man rsync
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron