ftpquote()

The ftpquote() call sends a string to the server verbatim.

Syntax

#include <ftpapi.h>

int ftpquote(host, userid, passwd, acct, quotestr)
char *host;
char *userid;
char *passwd;
char *acct;
char *quotestr;

Parameters

host

userid passwd acct quotestr

Return Values

The value 0 indicates success; the value -1 indicates an error. The value of ftperrno indicates the specific error. See Return Values for a description of the return codes.

Examples

int rc;rc=ftpquote("conypc","jason","ehgr1",NULL,"site idle 2000");

The idle is set to time out in 2000 seconds. Your server might not support that amount of idle time.


[Back: ftppwd()]
[Next: ftpremsize()]