home *** CD-ROM | disk | FTP | other *** search
- // FtpDlg.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "afxinet.h"
- #include "ftp.h"
- #include "FtpDlg.h"
- #include "FtpGet.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CFtpDlg dialog
-
-
- CFtpDlg::CFtpDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CFtpDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CFtpDlg)
- m_strServer = _T("ftp.microsoft.com");
- m_strFile = _T("i*.txt");
- m_strPath = _T("\\developr\\vis*_?\\kb\\");
- m_strRoot = _T("c:\\temp\\");
- m_strGateway = _T("ftp-gw");
- m_nCopyType = FC_NONE;
-
- //}}AFX_DATA_INIT
- }
-
-
- void CFtpDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CFtpDlg)
- DDX_Text(pDX, IDC_EDIT_FILE, m_strFile);
- DDX_Text(pDX, IDC_EDIT_PATH, m_strPath);
- DDX_Text(pDX, IDC_EDIT_ROOT, m_strRoot);
- DDX_Text(pDX, IDC_EDIT_SVR, m_strServer);
- DDX_Text(pDX, IDC_EDIT_GW, m_strGateway);
- DDX_Radio(pDX, IDC_RADIO_NONE, m_nCopyType);
- //}}AFX_DATA_MAP
- }
-
-
- BEGIN_MESSAGE_MAP(CFtpDlg, CDialog)
- //{{AFX_MSG_MAP(CFtpDlg)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CFtpDlg message handlers
-