ftpremsize()

The ftpremsize() call returns the size of a file on the remote server.

Syntax

#include <ftpapi.h>

int ftpget(host, userid, passwd, acct,  local, remote,
       mode, transfertype)
char *host;
char *userid;
char *passwd;
char *acct;
char *local;
char *remote;
char *mode;
int transfertype;

Parameters

host

userid passwd acct local remote mode transfertype

Return Values

Value greater than zero indicates success which is the size of the remote file, the value -1 indicates error.


[Back: ftpquote()]
[Next: ftprename()]