Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1811

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:07:31 CEST 2007 -->
<TITLE>
QFtp
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.network.QFtp class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QFtp";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/network/QAuthenticator.html" title="class in com.trolltech.qt.network"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.Command.html" title="enum in com.trolltech.qt.network"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/network/QFtp.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFtp.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.network</FONT>
<BR>
Class QFtp</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.network.QFtp</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QFtp</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> class provides an implementation of the client side of FTP protocol.</p>
<p>The class works asynchronously, so there are no blocking functions. If an operation cannot be executed immediately, the function will still return straight away and the operation will be scheduled for later execution. The results of scheduled operations are reported via signals. This approach depends on the event loop being in operation.</p>
<p>The operations that can be scheduled (they are called &quot;commands&quot; in the rest of the documentation) are the following: <a href="QFtp.html#connectToHost(java.lang.String, char)"><tt>connectToHost</tt></a>, <a href="QFtp.html#login(java.lang.String, java.lang.String)"><tt>login</tt></a>, <a href="QFtp.html#close()"><tt>close</tt></a>, <a href="QFtp.html#list(java.lang.String)"><tt>list</tt></a>, <a href="QFtp.html#cd(java.lang.String)"><tt>cd</tt></a>, <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><tt>put</tt></a>, <a href="QFtp.html#remove(java.lang.String)"><tt>remove</tt></a>, <a href="QFtp.html#mkdir(java.lang.String)"><tt>mkdir</tt></a>, <a href="QFtp.html#rmdir(java.lang.String)"><tt>rmdir</tt></a>, <a href="QFtp.html#rename(java.lang.String, java.lang.String)"><tt>rename</tt></a> and <a href="QFtp.html#rawCommand(java.lang.String)"><tt>rawCommand</tt></a>.</p>
<p>All of these commands return a unique identifier that allows you to keep track of the command that is currently being executed. When the execution of a command starts, the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal with the command's identifier is emitted. When the command is finished, the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted with the command's identifier and a bool that indicates whether the command finished with an error.</p>
<p>In some cases, you might want to execute a sequence of commands, e.g&#x2e; if you want to connect and login to a FTP server. This is simply achieved:</p>
<pre>    QFtp *ftp = new QFtp(parent);
    ftp-&gt;connectToHost(&quot;ftp.trolltech.com&quot;);
    ftp-&gt;login();</pre>
<p>In this case two FTP commands have been scheduled. When the last scheduled command has finished, a <a href="QFtp.html#done(boolean)"><tt>done</tt></a> signal is emitted with a bool argument that tells you whether the sequence finished with an error.</p>
<p>If an error occurs during the execution of one of the commands in a sequence of commands, all the pending commands (i.e&#x2e; scheduled, but not yet executed commands) are cleared and no signals are emitted for them.</p>
<p>Some commands, e.g&#x2e; <a href="QFtp.html#list(java.lang.String)"><tt>list</tt></a>, emit additional signals to report their results.</p>
<p>Example: If you want to download the INSTALL file from Trolltech's FTP server, you would write this:</p>
<pre>    ftp-&gt;connectToHost(&quot;ftp.trolltech.com&quot;);  <span class="comment">// id == 1</span>
    ftp-&gt;login();                             <span class="comment">// id == 2</span>
    ftp-&gt;cd(&quot;qt&quot;);                            <span class="comment">// id == 3</span>
    ftp-&gt;get(&quot;INSTALL&quot;);                      <span class="comment">// id == 4</span>
    ftp-&gt;close();                             <span class="comment">// id == 5</span></pre>
<p>For this example the following sequence of signals is emitted (with small variations, depending on network traffic, etc.):</p>
<pre>    start(1)
    stateChanged(HostLookup)
    stateChanged(Connecting)
    stateChanged(Connected)
    finished(1, false)

    start(2)
    stateChanged(LoggedIn)
    finished(2, false)

    start(3)
    finished(3, false)

    start(4)
    dataTransferProgress(0, 3798)
    dataTransferProgress(2896, 3798)
    readyRead()
    dataTransferProgress(3798, 3798)
    readyRead()
    finished(4, false)

    start(5)
    stateChanged(Closing)
    stateChanged(Unconnected)
    finished(5, false)

    done(false)</pre>
<p>The <a href="QFtp.html#dataTransferProgress(long, long)"><tt>dataTransferProgress</tt></a> signal in the above example is useful if you want to show a <a href="%2E%2E/gui/QProgressBar.html">progress bar</tt></a> to inform the user about the progress of the download. The <a href="QFtp.html#readyRead()"><tt>readyRead</tt></a> signal tells you that there is data ready to be read. The amount of data can be queried then with the <a href="QFtp.html#bytesAvailable()"><tt>bytesAvailable</tt></a> function and it can be read with the read() or <a href="QFtp.html#readAll()"><tt>readAll</tt></a> function.</p>
<p>If the login fails for the above example, the signals would look like this:</p>
<pre>    start(1)
    stateChanged(HostLookup)
    stateChanged(Connecting)
    stateChanged(Connected)
    finished(1, false)

    start(2)
    finished(2, true)

    done(true)</pre>
<p>You can then get details about the error with the <a href="QFtp.html#error()"><tt>error</tt></a> and <a href="QFtp.html#errorString()"><tt>errorString</tt></a> functions.</p>
<p>For file transfer, <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> can use both active or passive mode, and it uses passive file transfer mode by default; see the documentation for <a href="QFtp.html#setTransferMode(com.trolltech.qt.network.QFtp.TransferMode)"><tt>setTransferMode</tt></a> for more details about this.</p>
<p>Call <a href="QFtp.html#setProxy(java.lang.String, char)"><tt>setProxy</tt></a> to make <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> connect via an FTP proxy server.</p>
<p>The functions <a href="QFtp.html#currentId()"><tt>currentId</tt></a> and <a href="QFtp.html#currentCommand()"><tt>currentCommand</tt></a> provide more information about the currently executing command.</p>
<p>The functions <a href="QFtp.html#hasPendingCommands()"><tt>hasPendingCommands</tt></a> and <a href="QFtp.html#clearPendingCommands()"><tt>clearPendingCommands</tt></a> allow you to query and clear the list of pending commands.</p>
<p>If you are an experienced network programmer and want to have complete control you can use <a href="QFtp.html#rawCommand(java.lang.String)"><tt>rawCommand</tt></a> to execute arbitrary FTP commands.</p>
<p><b>Warning:</b> The current version of <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> doesn't fully support non-Unix FTP servers. We hope to fix this in a future version of Qt.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QHttp.html"><tt>QHttp</tt></a>, 
<CODE>Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.Command.html" title="enum in com.trolltech.qt.network">QFtp.Command</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum is used as the return value for the <a href="QFtp.html#currentCommand()"><tt>currentCommand</tt></a> function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.Error.html" title="enum in com.trolltech.qt.network">QFtp.Error</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum identifies the error that occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.State.html" title="enum in com.trolltech.qt.network">QFtp.State</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum defines the connection state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.TransferMode.html" title="enum in com.trolltech.qt.network">QFtp.TransferMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FTP works with two socket connections; one for commands and another for transmitting data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum identifies the data transfer type used with get and put commands.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Integer,java.lang.Boolean&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#commandFinished">commandFinished</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when processing the command identified by <tt>arg__1</tt> has finished.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#commandStarted">commandStarted</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when processing the command identified by <tt>arg__1</tt> starts.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Long,java.lang.Long&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#dataTransferProgress">dataTransferProgress</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted in response to a <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> or <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><tt>put</tt></a> request to indicate the current progress of the download or upload.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Boolean&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#done">done</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the last pending command has finished; (it is emitted after the last command's <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/network/QUrlInfo.html" title="class in com.trolltech.qt.network">QUrlInfo</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#listInfo">listInfo</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted for each directory entry the <a href="QFtp.html#list(java.lang.String)"><tt>list</tt></a> command finds.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#rawCommandReply">rawCommandReply</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted in response to the <a href="QFtp.html#rawCommand(java.lang.String)"><tt>rawCommand</tt></a> function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#readyRead">readyRead</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted in response to a <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> command when there is new data to read.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#stateChanged">stateChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the state of the connection changes.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#QFtp()">QFtp</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a>(0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#QFtp(com.trolltech.qt.core.QObject)">QFtp</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> object with the given <tt>parent</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#abort()">abort</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aborts the current command and deletes all scheduled commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#bytesAvailable()">bytesAvailable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of bytes that can be read from the data socket at the moment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#cd(java.lang.String)">cd</A></B>(java.lang.String&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the working directory of the server to <tt>dir</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#clearPendingCommands()">clearPendingCommands</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes all pending commands from the list of scheduled commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#close()">close</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the connection to the FTP server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#connectToHost(java.lang.String)">connectToHost</A></B>(java.lang.String&nbsp;host)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#connectToHost(java.lang.String, char)"><tt>connectToHost</tt></a>(<tt>host</tt>, 21).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#connectToHost(java.lang.String, char)">connectToHost</A></B>(java.lang.String&nbsp;host,
              char&nbsp;port)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connects to the FTP server <tt>host</tt> using port <tt>port</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.Command.html" title="enum in com.trolltech.qt.network">QFtp.Command</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#currentCommand()">currentCommand</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the command type of the FTP command being executed or <tt>None</tt> if there is no command being executed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#currentDevice()">currentDevice</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <a href="%2E%2E/core/QIODevice.html"><tt>QIODevice</tt></a> pointer that is used by the FTP command to read data from or store data to.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#currentId()">currentId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the identifier of the FTP command that is being executed or 0 if there is no command being executed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.Error.html" title="enum in com.trolltech.qt.network">QFtp.Error</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#error()">error</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last error that occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#errorString()">errorString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a human-readable description of the last error that occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.html" title="class in com.trolltech.qt.network">QFtp</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QFtp instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#get(java.lang.String)">get</A></B>(java.lang.String&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)">get</tt></a>(<tt>file</tt>, 0, Binary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice)">get</A></B>(java.lang.String&nbsp;file,
    <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)">get</tt></a>(<tt>file</tt>, <tt>dev</tt>, Binary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)">get</A></B>(java.lang.String&nbsp;file,
    <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
    <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Downloads the file <tt>file</tt> from the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#hasPendingCommands()">hasPendingCommands</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there are any commands scheduled that have not yet been executed; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#list()">list</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#list(java.lang.String)">list</tt></a>(QString()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#list(java.lang.String)">list</A></B>(java.lang.String&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lists the contents of directory <tt>dir</tt> on the FTP server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#login()">login</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#login(java.lang.String, java.lang.String)">login</tt></a>(QString(), QString()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#login(java.lang.String)">login</A></B>(java.lang.String&nbsp;user)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#login(java.lang.String, java.lang.String)">login</tt></a>(<tt>user</tt>, QString()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#login(java.lang.String, java.lang.String)">login</A></B>(java.lang.String&nbsp;user,
      java.lang.String&nbsp;password)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs in to the FTP server with the username <tt>user</tt> and the password <tt>password</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#mkdir(java.lang.String)">mkdir</A></B>(java.lang.String&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a directory called <tt>dir</tt> on the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#put(com.trolltech.qt.core.QByteArray, java.lang.String)">put</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
    java.lang.String&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</tt></a>(<tt>data</tt>, <tt>file</tt>, Binary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#put(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
    java.lang.String&nbsp;file,
    <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a copy of the given <tt>data</tt> to the file called <tt>file</tt> on the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String)">put</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
    java.lang.String&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</tt></a>(<tt>dev</tt>, <tt>file</tt>, Binary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
    java.lang.String&nbsp;file,
    <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the data from the IO device <tt>dev</tt>, and writes it to the file called <tt>file</tt> on the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#rawCommand(java.lang.String)">rawCommand</A></B>(java.lang.String&nbsp;command)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends the raw FTP command <tt>command</tt> to the FTP server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#read(byte[])">read</A></B>(byte[]&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads from the data socket into <tt>data</tt> and returns the number of bytes
read.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#readAll()">readAll</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads all the bytes available from the data socket and returns them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#remove(java.lang.String)">remove</A></B>(java.lang.String&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes the file called <tt>file</tt> from the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#rename(java.lang.String, java.lang.String)">rename</A></B>(java.lang.String&nbsp;oldname,
       java.lang.String&nbsp;newname)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renames the file called <tt>oldname</tt> to <tt>newname</tt> on the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#rmdir(java.lang.String)">rmdir</A></B>(java.lang.String&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the directory called <tt>dir</tt> from the server.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#setProxy(java.lang.String, char)">setProxy</A></B>(java.lang.String&nbsp;host,
         char&nbsp;port)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables use of the FTP proxy on host <tt>host</tt> and port <tt>port</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#setTransferMode(com.trolltech.qt.network.QFtp.TransferMode)">setTransferMode</A></B>(<A HREF="../../../../com/trolltech/qt/network/QFtp.TransferMode.html" title="enum in com.trolltech.qt.network">QFtp.TransferMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current FTP transfer mode to <tt>mode</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.State.html" title="enum in com.trolltech.qt.network">QFtp.State</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/network/QFtp.html#state()">state</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current state of the object.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="commandFinished"><!-- --></A><H3>
commandFinished</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Integer,java.lang.Boolean&gt; <B>commandFinished</B></PRE>
<DL>
<DD><p>This signal is emitted when processing the command identified by <tt>arg__1</tt> has finished. <tt>arg__2</tt> is true if an error occurred during the processing; otherwise <tt>arg__2</tt> is false.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int arg__1, boolean arg__2)</tt></dd>
<dd><tt>void mySlot(int arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, <a href="QFtp.html#done(boolean)"><tt>done</tt></a>, <a href="QFtp.html#error()"><tt>error</tt></a>, <a href="QFtp.html#errorString()"><tt>errorString</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="commandStarted"><!-- --></A><H3>
commandStarted</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt; <B>commandStarted</B></PRE>
<DL>
<DD><p>This signal is emitted when processing the command identified by <tt>arg__1</tt> starts.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>, <a href="QFtp.html#done(boolean)"><tt>done</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="dataTransferProgress"><!-- --></A><H3>
dataTransferProgress</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Long,java.lang.Long&gt; <B>dataTransferProgress</B></PRE>
<DL>
<DD><p>This signal is emitted in response to a <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> or <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><tt>put</tt></a> request to indicate the current progress of the download or upload.</p>
<p><tt>arg__1</tt> is the amount of data that has already been transferred and <tt>arg__2</tt> is the total amount of data to be read or written. It is possible that the <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> class is not able to determine the total amount of data that should be transferred, in which case <tt>arg__2</tt> is 0. (If you connect this signal to a <a href="%2E%2E/gui/QProgressBar.html"><tt>QProgressBar</tt></a>, the progress bar shows a busy indicator if the total is 0).</p>
<p><b>Warning:</b> <tt>arg__1</tt> and <tt>arg__2</tt> are not necessarily the size in bytes, since for large files these values might need to be &quot;scaled&quot; to avoid overflow.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(long arg__1, long arg__2)</tt></dd>
<dd><tt>void mySlot(long arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><tt>put</tt></a>, <a href="%2E%2E/gui/QProgressBar.html"><tt>QProgressBar</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="done"><!-- --></A><H3>
done</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Boolean&gt; <B>done</B></PRE>
<DL>
<DD><p>This signal is emitted when the last pending command has finished; (it is emitted after the last command's <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal). <tt>arg__1</tt> is true if an error occurred during the processing; otherwise <tt>arg__1</tt> is false.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(boolean arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>, <a href="QFtp.html#error()"><tt>error</tt></a>, <a href="QFtp.html#errorString()"><tt>errorString</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="listInfo"><!-- --></A><H3>
listInfo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/network/QUrlInfo.html" title="class in com.trolltech.qt.network">QUrlInfo</A>&gt; <B>listInfo</B></PRE>
<DL>
<DD><p>This signal is emitted for each directory entry the <a href="QFtp.html#list(java.lang.String)"><tt>list</tt></a> command finds. The details of the entry are stored in <tt>arg__1</tt>.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.network.QUrlInfo arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#list(java.lang.String)"><tt>list</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="rawCommandReply"><!-- --></A><H3>
rawCommandReply</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;java.lang.Integer,java.lang.String&gt; <B>rawCommandReply</B></PRE>
<DL>
<DD><p>This signal is emitted in response to the <a href="QFtp.html#rawCommand(java.lang.String)"><tt>rawCommand</tt></a> function. <tt>arg__1</tt> is the 3 digit reply code and <tt>arg__2</tt> is the text that follows the reply code.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int arg__1, java.lang.String arg__2)</tt></dd>
<dd><tt>void mySlot(int arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#rawCommand(java.lang.String)"><tt>rawCommand</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="readyRead"><!-- --></A><H3>
readyRead</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>readyRead</B></PRE>
<DL>
<DD><p>This signal is emitted in response to a <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> command when there is new data to read.</p>
<p>If you specify a device as the second argument in the <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> command, this signal is <i>not</i> emitted; instead the data is written directly to the device.</p>
<p>You can read the data with the <a href="QFtp.html#readAll()"><tt>readAll</tt></a> or read() functions.</p>
<p>This signal is useful if you want to process the data in chunks as soon as it becomes available. If you are only interested in the complete data, just connect to the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal and read the data then instead.</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, <tt>read</tt>, <a href="QFtp.html#readAll()"><tt>readAll</tt></a>, <a href="QFtp.html#bytesAvailable()"><tt>bytesAvailable</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="stateChanged"><!-- --></A><H3>
stateChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt; <B>stateChanged</B></PRE>
<DL>
<DD><p>This signal is emitted when the state of the connection changes. The argument <tt>arg__1</tt> is the new state of the connection; it is one of the <a href="QFtp.html#State-enum">State</tt></a> values.</p>
<p>It is usually emitted in response to a <a href="QFtp.html#connectToHost(java.lang.String, char)"><tt>connectToHost</tt></a> or <a href="QFtp.html#close()"><tt>close</tt></a> command, but it can also be emitted &quot;spontaneously&quot;, e.g&#x2e; when the server closes the connection unexpectedly.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QFtp.html#connectToHost(java.lang.String, char)"><tt>connectToHost</tt></a>, <a href="QFtp.html#close()"><tt>close</tt></a>, <a href="QFtp.html#state()"><tt>state</tt></a>, <a href="QFtp.html#State-enum">State</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QFtp()"><!-- --></A><H3>
QFtp</H3>
<PRE>
public <B>QFtp</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a>(0).
<P>
</DL>
<HR>

<A NAME="QFtp(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QFtp</H3>
<PRE>
public <B>QFtp</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> object with the given <tt>parent</tt>.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="abort()"><!-- --></A><H3>
abort</H3>
<PRE>
public final void <B>abort</B>()</PRE>
<DL>
<DD><p>Aborts the current command and deletes all scheduled commands.</p>
<p>If there is an unfinished command (i.e&#x2e; a command for which the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal has been emitted, but for which the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal has not been emitted), this function sends an <tt>ABORT</tt> command to the server. When the server replies that the command is aborted, the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal with the <tt>error</tt> argument set to <tt>true</tt> is emitted for the command. Due to timing issues, it is possible that the command had already finished before the abort request reached the server, in which case, the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted with the <tt>error</tt> argument set to <tt>false</tt>.</p>
<p>For all other commands that are affected by the <a href="QFtp.html#abort()"><tt>abort</tt></a>, no signals are emitted.</p>
<p>If you don't start further FTP commands directly after the <a href="QFtp.html#abort()"><tt>abort</tt></a>, there won't be any scheduled commands and the <a href="QFtp.html#done(boolean)"><tt>done</tt></a> signal is emitted.</p>
<p><b>Warning:</b> Some FTP servers, for example the BSD FTP daemon (version 0.3), wrongly return a positive reply even when an abort has occurred. For these servers the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal has its error flag set to <tt>false</tt>, even though the command did not complete successfully.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#clearPendingCommands()"><tt>clearPendingCommands</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bytesAvailable()"><!-- --></A><H3>
bytesAvailable</H3>
<PRE>
public final long <B>bytesAvailable</B>()</PRE>
<DL>
<DD><p>Returns the number of bytes that can be read from the data socket at the moment.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, 
<a href="QFtp.html#readyRead()"><tt>readyRead</tt></a>, 
<tt>read</tt>, 
<a href="QFtp.html#readAll()"><tt>readAll</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="cd(java.lang.String)"><!-- --></A><H3>
cd</H3>
<PRE>
public final int <B>cd</B>(java.lang.String&nbsp;dir)</PRE>
<DL>
<DD><p>Changes the working directory of the server to <tt>dir</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearPendingCommands()"><!-- --></A><H3>
clearPendingCommands</H3>
<PRE>
public final void <B>clearPendingCommands</B>()</PRE>
<DL>
<DD><p>Deletes all pending commands from the list of scheduled commands. This does not affect the command that is being executed. If you want to stop this this as well, use <a href="QFtp.html#abort()"><tt>abort</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#hasPendingCommands()"><tt>hasPendingCommands</tt></a>, 
<a href="QFtp.html#abort()"><tt>abort</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public final int <B>close</B>()</PRE>
<DL>
<DD><p>Closes the connection to the FTP server.</p>
<p>The <a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a> signal is emitted when the state of the connecting process changes, e.g&#x2e; to <tt>Closing</tt>, then <tt>Unconnected</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="connectToHost(java.lang.String)"><!-- --></A><H3>
connectToHost</H3>
<PRE>
public final int <B>connectToHost</B>(java.lang.String&nbsp;host)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#connectToHost(java.lang.String, char)"><tt>connectToHost</tt></a>(<tt>host</tt>, 21).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="connectToHost(java.lang.String, char)"><!-- --></A><H3>
connectToHost</H3>
<PRE>
public final int <B>connectToHost</B>(java.lang.String&nbsp;host,
                               char&nbsp;port)</PRE>
<DL>
<DD><p>Connects to the FTP server <tt>host</tt> using port <tt>port</tt>.</p>
<p>The <a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a> signal is emitted when the state of the connecting process changes, e.g&#x2e; to <tt>HostLookup</tt>, then <tt>Connecting</tt>, then <tt>Connected</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentCommand()"><!-- --></A><H3>
currentCommand</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/network/QFtp.Command.html" title="enum in com.trolltech.qt.network">QFtp.Command</A> <B>currentCommand</B>()</PRE>
<DL>
<DD><p>Returns the command type of the FTP command being executed or <tt>None</tt> if there is no command being executed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#currentId()"><tt>currentId</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentDevice()"><!-- --></A><H3>
currentDevice</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A> <B>currentDevice</B>()</PRE>
<DL>
<DD><p>Returns the <a href="%2E%2E/core/QIODevice.html"><tt>QIODevice</tt></a> pointer that is used by the FTP command to read data from or store data to. If there is no current FTP command being executed or if the command does not use an IO device, this function returns 0.</p>
<p>This function can be used to delete the <a href="%2E%2E/core/QIODevice.html"><tt>QIODevice</tt></a> in the slot connected to the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, 
<a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><tt>put</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentId()"><!-- --></A><H3>
currentId</H3>
<PRE>
public final int <B>currentId</B>()</PRE>
<DL>
<DD><p>Returns the identifier of the FTP command that is being executed or 0 if there is no command being executed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#currentCommand()"><tt>currentCommand</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="error()"><!-- --></A><H3>
error</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/network/QFtp.Error.html" title="enum in com.trolltech.qt.network">QFtp.Error</A> <B>error</B>()</PRE>
<DL>
<DD><p>Returns the last error that occurred. This is useful to find out what went wrong when receiving a <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> or a <a href="QFtp.html#done(boolean)"><tt>done</tt></a> signal with the <tt>error</tt> argument set to <tt>true</tt>.</p>
<p>If you start a new command, the error status is reset to <tt>NoError</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="errorString()"><!-- --></A><H3>
errorString</H3>
<PRE>
public final java.lang.String <B>errorString</B>()</PRE>
<DL>
<DD><p>Returns a human-readable description of the last error that occurred. This is useful for presenting a error message to the user when receiving a <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> or a <a href="QFtp.html#done(boolean)"><tt>done</tt></a> signal with the <tt>error</tt> argument set to <tt>true</tt>.</p>
<p>The error string is often (but not always) the reply from the server, so it is not always possible to translate the string. If the message comes from Qt, the string has already passed through tr().</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="get(java.lang.String, com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
get</H3>
<PRE>
public final int <B>get</B>(java.lang.String&nbsp;file,
                     <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)">get</tt></a>(<tt>file</tt>, <tt>dev</tt>, Binary).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="get(java.lang.String)"><!-- --></A><H3>
get</H3>
<PRE>
public final int <B>get</B>(java.lang.String&nbsp;file)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)">get</tt></a>(<tt>file</tt>, 0, Binary).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><!-- --></A><H3>
get</H3>
<PRE>
public final int <B>get</B>(java.lang.String&nbsp;file,
                     <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
                     <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Downloads the file <tt>file</tt> from the server.</p>
<p>If <tt>dev</tt> is 0, then the <a href="QFtp.html#readyRead()"><tt>readyRead</tt></a> signal is emitted when there is data available to read. You can then read the data with the read() or <a href="QFtp.html#readAll()"><tt>readAll</tt></a> functions.</p>
<p>If <tt>dev</tt> is not 0, the data is written directly to the device <tt>dev</tt>. Make sure that the <tt>dev</tt> pointer is valid for the duration of the operation (it is safe to delete it when the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted). In this case the <a href="QFtp.html#readyRead()"><tt>readyRead</tt></a> signal is <i>not</i> emitted and you cannot read data with the read() or <a href="QFtp.html#readAll()"><tt>readAll</tt></a> functions.</p>
<p>If you don't read the data immediately it becomes available, i.e&#x2e; when the <a href="QFtp.html#readyRead()"><tt>readyRead</tt></a> signal is emitted, it is still available until the next command is started.</p>
<p>For example, if you want to present the data to the user as soon as there is something available, connect to the <a href="QFtp.html#readyRead()"><tt>readyRead</tt></a> signal and read the data immediately. On the other hand, if you only want to work with the complete data, you can connect to the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal and read the data when the <a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a> command is finished.</p>
<p>The data is transferred as Binary or Ascii depending on the value of <tt>type</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<p><a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#readyRead()"><tt>readyRead</tt></a>, 
<a href="QFtp.html#dataTransferProgress(long, long)"><tt>dataTransferProgress</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasPendingCommands()"><!-- --></A><H3>
hasPendingCommands</H3>
<PRE>
public final boolean <B>hasPendingCommands</B>()</PRE>
<DL>
<DD><p>Returns true if there are any commands scheduled that have not yet been executed; otherwise returns false.</p>
<p>The command that is being executed is <i>not</i> considered as a scheduled command.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#clearPendingCommands()"><tt>clearPendingCommands</tt></a>, 
<a href="QFtp.html#currentId()"><tt>currentId</tt></a>, 
<a href="QFtp.html#currentCommand()"><tt>currentCommand</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="list()"><!-- --></A><H3>
list</H3>
<PRE>
public final int <B>list</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#list(java.lang.String)">list</tt></a>(QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="list(java.lang.String)"><!-- --></A><H3>
list</H3>
<PRE>
public final int <B>list</B>(java.lang.String&nbsp;dir)</PRE>
<DL>
<DD><p>Lists the contents of directory <tt>dir</tt> on the FTP server. If <tt>dir</tt> is empty, it lists the contents of the current directory.</p>
<p>The <a href="QFtp.html#listInfo(com.trolltech.qt.network.QUrlInfo)"><tt>listInfo</tt></a> signal is emitted for each directory entry found.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#listInfo(com.trolltech.qt.network.QUrlInfo)"><tt>listInfo</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="login(java.lang.String)"><!-- --></A><H3>
login</H3>
<PRE>
public final int <B>login</B>(java.lang.String&nbsp;user)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#login(java.lang.String, java.lang.String)">login</tt></a>(<tt>user</tt>, QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="login()"><!-- --></A><H3>
login</H3>
<PRE>
public final int <B>login</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#login(java.lang.String, java.lang.String)">login</tt></a>(QString(), QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="login(java.lang.String, java.lang.String)"><!-- --></A><H3>
login</H3>
<PRE>
public final int <B>login</B>(java.lang.String&nbsp;user,
                       java.lang.String&nbsp;password)</PRE>
<DL>
<DD><p>Logs in to the FTP server with the username <tt>user</tt> and the password <tt>password</tt>.</p>
<p>The <a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a> signal is emitted when the state of the connecting process changes, e.g&#x2e; to <tt>LoggedIn</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mkdir(java.lang.String)"><!-- --></A><H3>
mkdir</H3>
<PRE>
public final int <B>mkdir</B>(java.lang.String&nbsp;dir)</PRE>
<DL>
<DD><p>Creates a directory called <tt>dir</tt> on the server.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="put(com.trolltech.qt.core.QByteArray, java.lang.String)"><!-- --></A><H3>
put</H3>
<PRE>
public final int <B>put</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
                     java.lang.String&nbsp;file)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</tt></a>(<tt>data</tt>, <tt>file</tt>, Binary).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="put(com.trolltech.qt.core.QByteArray, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><!-- --></A><H3>
put</H3>
<PRE>
public final int <B>put</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data,
                     java.lang.String&nbsp;file,
                     <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Writes a copy of the given <tt>data</tt> to the file called <tt>file</tt> on the server. The progress of the upload is reported by the <a href="QFtp.html#dataTransferProgress(long, long)"><tt>dataTransferProgress</tt></a> signal.</p>
<p>The data is transferred as Binary or Ascii depending on the value of <tt>type</tt>.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<p>Since this function takes a copy of the <tt>data</tt>, you can discard your own copy when this function returns.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#dataTransferProgress(long, long)"><tt>dataTransferProgress</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="put(com.trolltech.qt.core.QIODevice, java.lang.String)"><!-- --></A><H3>
put</H3>
<PRE>
public final int <B>put</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
                     java.lang.String&nbsp;file)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFtp.html#put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)">put</tt></a>(<tt>dev</tt>, <tt>file</tt>, Binary).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="put(com.trolltech.qt.core.QIODevice, java.lang.String, com.trolltech.qt.network.QFtp.TransferType)"><!-- --></A><H3>
put</H3>
<PRE>
public final int <B>put</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;dev,
                     java.lang.String&nbsp;file,
                     <A HREF="../../../../com/trolltech/qt/network/QFtp.TransferType.html" title="enum in com.trolltech.qt.network">QFtp.TransferType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Reads the data from the IO device <tt>dev</tt>, and writes it to the file called <tt>file</tt> on the server. The data is read in chunks from the IO device, so this overload allows you to transmit large amounts of data without the need to read all the data into memory at once.</p>
<p>The data is transferred as Binary or Ascii depending on the value of <tt>type</tt>.</p>
<p>Make sure that the <tt>dev</tt> pointer is valid for the duration of the operation (it is safe to delete it when the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> is emitted).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="rawCommand(java.lang.String)"><!-- --></A><H3>
rawCommand</H3>
<PRE>
public final int <B>rawCommand</B>(java.lang.String&nbsp;command)</PRE>
<DL>
<DD><p>Sends the raw FTP command <tt>command</tt> to the FTP server. This is useful for low-level FTP access. If the operation you wish to perform has an equivalent <a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> function, we recommend using the function instead of raw FTP commands since the functions are easier and safer.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#rawCommandReply(int, java.lang.String)"><tt>rawCommandReply</tt></a>, 
<a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="readAll()"><!-- --></A><H3>
readAll</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>readAll</B>()</PRE>
<DL>
<DD><p>Reads all the bytes available from the data socket and returns them.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#get(java.lang.String, com.trolltech.qt.core.QIODevice, com.trolltech.qt.network.QFtp.TransferType)"><tt>get</tt></a>, 
<a href="QFtp.html#readyRead()"><tt>readyRead</tt></a>, 
<a href="QFtp.html#bytesAvailable()"><tt>bytesAvailable</tt></a>, 
<tt>read</tt></DL>
</DD>
</DL>
<HR>

<A NAME="remove(java.lang.String)"><!-- --></A><H3>
remove</H3>
<PRE>
public final int <B>remove</B>(java.lang.String&nbsp;file)</PRE>
<DL>
<DD><p>Deletes the file called <tt>file</tt> from the server.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rename(java.lang.String, java.lang.String)"><!-- --></A><H3>
rename</H3>
<PRE>
public final int <B>rename</B>(java.lang.String&nbsp;oldname,
                        java.lang.String&nbsp;newname)</PRE>
<DL>
<DD><p>Renames the file called <tt>oldname</tt> to <tt>newname</tt> on the server.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rmdir(java.lang.String)"><!-- --></A><H3>
rmdir</H3>
<PRE>
public final int <B>rmdir</B>(java.lang.String&nbsp;dir)</PRE>
<DL>
<DD><p>Removes the directory called <tt>dir</tt> from the server.</p>
<p>The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> and <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a>.</p>
<p>When the command is started the <a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a> signal is emitted. When it is finished the <a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#commandStarted(int)"><tt>commandStarted</tt></a>, 
<a href="QFtp.html#commandFinished(int, boolean)"><tt>commandFinished</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setProxy(java.lang.String, char)"><!-- --></A><H3>
setProxy</H3>
<PRE>
public final int <B>setProxy</B>(java.lang.String&nbsp;host,
                          char&nbsp;port)</PRE>
<DL>
<DD><p>Enables use of the FTP proxy on host <tt>host</tt> and port <tt>port</tt>. Calling this function with <tt>host</tt> empty disables proxying.</p>
<p><a href="QFtp.html#QFtp(com.trolltech.qt.core.QObject)"><tt>QFtp</tt></a> does not support FTP-over-HTTP proxy servers. Use <a href="QHttp.html"><tt>QHttp</tt></a> for this.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setTransferMode(com.trolltech.qt.network.QFtp.TransferMode)"><!-- --></A><H3>
setTransferMode</H3>
<PRE>
public final int <B>setTransferMode</B>(<A HREF="../../../../com/trolltech/qt/network/QFtp.TransferMode.html" title="enum in com.trolltech.qt.network">QFtp.TransferMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Sets the current FTP transfer mode to <tt>mode</tt>. The default is QFtp::Passive.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QFtp::TransferMode</tt></DL>
</DD>
</DL>
<HR>

<A NAME="state()"><!-- --></A><H3>
state</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/network/QFtp.State.html" title="enum in com.trolltech.qt.network">QFtp.State</A> <B>state</B>()</PRE>
<DL>
<DD><p>Returns the current state of the object. When the state changes, the <a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a> signal is emitted.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFtp.html#State-enum">State</tt></a>, 
<a href="QFtp.html#stateChanged(int)"><tt>stateChanged</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/network/QFtp.html" title="class in com.trolltech.qt.network">QFtp</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QFtp instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="read(byte[])"><!-- --></A><H3>
read</H3>
<PRE>
public final int <B>read</B>(byte[]&nbsp;data)</PRE>
<DL>
<DD>Reads from the data socket into <tt>data</tt> and returns the number of bytes
read. Returns -1 if an error occurred.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/network/QAuthenticator.html" title="class in com.trolltech.qt.network"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/network/QFtp.Command.html" title="enum in com.trolltech.qt.network"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/network/QFtp.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFtp.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>