YedFtpPipe - Get_File

NAME:
Get_File

SYNOPSIS:
SINT Get_File(void *pvO,SCHAR *pscNomeFile,SCHAR *pscNomeFileInput);

DESCRIPTION:
The method gets the remote file pscNomeFile and store it to local file pscNomeFileInput. Both these file names must be completed with path. pvO is the instance of the object invoking the method.

RETURN VALUE:
The method returns YFTSUCCESS in case of right file transmission. In case of error, it returns:

YFTINVALIDPARAM
Input buffers are invalid. Maybe NULL, or empty.

YFTWRITERROR
Error in writing data to socket.

YFTNOREPLY
Timeout error in data reply from child.

In all other cases the method receives a bad response code from child, it returns this code. The meaning of these codes is explained in RFC documents about FTP protocol ( RFC 959 and others ).


http://yed.sourceforge.net