⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftpput.h

📁 在VC++6.0的开发平台上
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -