wininet实现ftp客户端关于传输进度的分析[60]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 flyelf 的 blog

                                                     lpctstr lpszlocal,

                                                     dword dwfiletype)

{

if(    lpszremote == null ||

        lpszlocal == null ||

        (dwfiletype != ftp_transfer_type_binary &&

        dwfiletype != ftp_transfer_type_ascii &&

        dwfiletype != ftp_transfer_type_unknown) ||

        dwthread == 0)

        return false;

if(m_btransfering)

        return false;

m_dwthread = dwthread;

return downloadfile(lpszremote,

                                    lpszlocal,

                                    dwfiletype);

}// end begindownload

本文关键:wininet实现ftp客户端关于传输进度的分析
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top