ftpread.html

来自「在ftplib-3.1-1-linux.tar.gz,修改了一个BUG,和增加了」· HTML 代码 · 共 40 行

HTML
40
字号
<html><head><title>FtpRead</title></head><body><h1>FtpRead</h1><p>Read data from a remote file or directory.<h2>SYNOPSIS</h2><pre>#include &lt;ftplib.h&gt;int FtpRead(void *buf, int max, netbuf *nData);</pre><h2>PARAMETERS</h2><dl><dt><b>buf</b><dd>Specifies the address of a buffer where received data will bewritten.<dt><b>max</b><dd>Specifies the size of the user's buffer.<dt><b>nData</b><dd>A handle returned by <a href="FtpAccess.html">FtpAccess()</a>.</dl><h2>DESCRIPTION</h2><p>FtpRead copies up to max bytes of data from the specified dataconnection and returns it to the user's buffer.  If the data connectionwas opened in ascii mode, no more than one line of data will be returned.<h2>RETURN VALUE</h2><p>Returns the number of bytes written to the user's buffer or -1 onerror or end of file.</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?