YedFtpPipe - Get_File
SINT Get_File(void *pvO,SCHAR *pscNomeFile,SCHAR *pscNomeFileInput);
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.
The method returns YFTSUCCESS in case of right file transmission. In case of error, it returns:
Input buffers are invalid. Maybe NULL, or empty.
Error in writing data to socket.
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 ).