📄 ftpread.html
字号:
<html><head><title>FtpRead</title></head><body><h1>FtpRead</h1><p>Read data from a remote file or directory.<h2>SYNOPSIS</h2><pre>#include <ftplib.h>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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -