[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Questions about ftp scp, and uploading files in general
On Sat, Dec 07, 2002 at 12:07:43AM +0000, Mr. Adam ALLEN wrote:
> Unless those on windows are running SSH servers scp doesn't help.
> (I hope I'm wrong- it'd be useful for me!). I'm confident that it's a
> download only job.
Well, you're confidently wrong then :)
scp can be used in either direction.
To copy from client to server.
scp file username [at] server:/path/file
To copy from server to client.
scp username [at] server:/path/file file
I've used it both ways.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.
#!/usr/bin/perl -w
# Strip all line of this form from html messages
# From: "French, Alastair" <nospam [at] racalinst.co.uk>
while (<>){
$_=~s/(^.*:.*[ <])(\w.*)(@.*)/$1nospam$3/;
print unless /^Delivered-To:/i ;
}