Command line use of SFTP

Lee, Michael X -ND Michael.X.Lee.-ND@disney.com
Fri, 24 Jan 2003 17:54:14 -0000


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2C3D1.9BA2A446
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm struggling to find a way to use command line SCP over an SSH
connection.

I know it works, because I can use the gui to transfer files to a remote
SSH server using the SFTP dialog box.  However I can't work out how I
can do this from the command line using either: existing code, or how to
write my own basic class i.e. something like an SFTP equivalent of
examples.RemoteCommand.

Any chance of someone writing an examples.RemoteCopy class?

Thanks, M.

------_=_NextPart_001_01C2C3D1.9BA2A446
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6249.1">
<TITLE>Command line use of SFTP</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm struggling to find a way to use =
command line SCP over an SSH connection.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I know it works, because I can use the =
gui to transfer files to a remote SSH server using the SFTP dialog =
box.&nbsp; However I can't work out how I can do this from the command =
line using either: existing code, or how to write my own basic class =
i.e. something like an SFTP equivalent of =
examples.RemoteCommand.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any chance of someone writing an =
examples.RemoteCopy class?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks, M.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2C3D1.9BA2A446--