l3lib/l3lib_vc3/llstream_ftp.h

44 lines
881 B
C++

//
// G A M E.O.N.E - LOW LEVEL LIB V1.0
// Copyright (C) 2001 LEVEL ONE ENTERTAINMENT,
// Licensed under the terms of LGPL.
//:---------------------------------------------------------------------------
//:Description
//
// LOW LEVEL FTPLOAD DRIVER INCLUDE FILE
//
//:---------------------------------------------------------------------------
#ifndef _DRV_FTP_H
#define _DRV_FTP_H
#include "llstream.h"
class CftpFile : public CStreamModule
{
public:
CftpFile();
virtual ~CftpFile();
public:
virtual int read ( void *ioBuf, int iNum);
virtual int write ( void *ioBuf, int iNum);
virtual int ioCtl ( char *iCmd, void *ioOption );
virtual CStreamModule * Clone();
private:
int Close(void);
int Open(char *filename);
char *m_filename;
void *m_filehandle;
void *m_ftp_object;
char *m_ftp_user;
char *m_ftp_pass;
char *m_ftp_server;
};
#endif // _DRV_FTP_H