ftpput.h
来自「在VC++6.0的开发平台上」· C头文件 代码 · 共 66 行
H
66 行
// FtpPut.h: interface for the CFtpPut class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FTPPUT_H__CF2497E5_361A_47E1_80A2_92DD5B6D529C__INCLUDED_)
#define AFX_FTPPUT_H__CF2497E5_361A_47E1_80A2_92DD5B6D529C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFtpPut
{
public:
CFtpPut();
virtual ~CFtpPut();
// password & user name
bool SetAccessRight(CString userName,CString userPass);
// open the connection
bool OpenConnection(CString server);
// only one file
bool PutFile(CString remoteFile,
CString localFile);
// close the connection
bool CloseConnection();
private:// var
CInternetSession *pInternetSession;
CFtpConnection *pFtpConnection;
CString strServerName;
CString strPass;
CString strUser;
public:
CString strAppName;
};
#endif // !defined(AFX_FTPPUT_H__CF2497E5_361A_47E1_80A2_92DD5B6D529C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?