Question on SFTP API
Baltz, Kenneth
Kbaltz@firstam.com
Mon, 18 Nov 2002 09:39:54 -0800
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C28F29.81661FE0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
I'm making use of SSH2SFTPTransfer in my code and have been having a problem
with an extra 'sftp-server' process hanging around on the remote machine.
Guessing that I needed to close my SFTP connection, I've started calling
SSH2SFTPTransfer.abort() after transferring my files and that seems to solve
the problem. However, abort() doesn't sound like the right method ( I would
have expected close() or disconnect() ) and without proper javadoc, I can't
be sure. Is this the correct way to close an SFTP connection?
K.C.
------_=_NextPart_001_01C28F29.81661FE0
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 =
5.5.2653.12">
<TITLE>Question on SFTP API</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>I'm making use of SSH2SFTPTransfer in my code and =
have been having a problem with an extra 'sftp-server' process hanging =
around on the remote machine. Guessing that I needed to close my =
SFTP connection, I've started calling SSH2SFTPTransfer.abort() after =
transferring my files and that seems to solve the problem. =
However, abort() doesn't sound like the right method ( I would have =
expected close() or disconnect() ) and without proper javadoc, I can't =
be sure. Is this the correct way to close an SFTP =
connection?</FONT></P>
<P><FONT SIZE=3D2>K.C.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C28F29.81661FE0--