word wport = internet_default_ftp_port, // ftp服务器端口
lpctstr lpszproxyname = null, // 代理名称
lpctstr lpszproxypwd = null); // 代理口令
// 开始下载文件
bool begindownload( hwnd hwnd, // 接收消息的窗口
lpctstr lpszremote, // 远程文件名称
lpctstr lpszlocal, // 保存本地的文件
dword dwfiletype = ftp_transfer_type_unknown); // 文件传输