freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

ftp客戶端-x-x-資料下載頁(yè)

2025-07-26 07:39本頁(yè)面
  

【正文】 cursor。 BOOL goodfile。 int x=0。 pFtpConnectionSetCurrentDirectory(m_strFullPath)。 CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 上傳文件,請(qǐng)稍候: + local+ \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 if (bBinary1 == 1) { // 二進(jìn)制方式 goodfile = pFtpConnectionPutFile(local,m_strFullPath+remote,FTP_TRANSFER_TYPE_BINARY)。 } else { if (bBinary1 == 0) { //ASCII方式 goodfile = pFtpConnectionPutFile(local,m_strFullPath+remote,FTP_TRANSFER_TYPE_ASCII)。 } else if (bBinary1 == 2) { // 自動(dòng)方式 goodfile = pFtpConnectionPutFile(local,m_strFullPath+remote,FTP_TRANSFER_TYPE_UNKNOWN)。 } } if(!goodfile) { CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 上傳出錯(cuò),請(qǐng)重試\r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 return 0。 } else { CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 文件:+local + 上傳成功 + \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 } return 1。}int CFtpOperate::GetMultipleFileName(CStringArray *localNameArray)//localNameArray作為輸出參數(shù){ if (flag != 2) { // 連接未成功 return 0。 } CWaitCursor cursor。 // init some var BOOL goodfile。 int x=0。 int nFileNumber=0。 pFtpConnectionSetCurrentDirectory(m_strFullPath)。 CFtpFileFind fFiles(pFtpConnection)。 goodfile=(m_strFullPath+*)。 if(goodfile==FALSE) { ()。 return 0。 } // while loop to transfer every file in the array CString str。 while(goodfile) { goodfile=()。 // try to get file name str=()。 if(()) { str+=DIR。 } localNameArrayInsertAt(x,str)。 nFileNumber++。 x++。 } ()。 //return the number of missing file, if any. return nFileNumber。}// 設(shè)置服務(wù)器下一層文件目錄bool CFtpOperate::setNextPath(CString strPath) { CString temp = m_strFullPath。 int i = () 1。 if ((i)!=39。/39。) { m_strFullPath +=39。/39。 } m_strFullPath += strPath + 39。/39。 CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 當(dāng)前目錄為: + m_strFullPath + \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 return 1。}// 返回上一層目錄bool CFtpOperate::setBackPath() { CString str。 pFtpConnectionGetCurrentDirectoryAsURL(str)。 int i = () 1。 int j = () 1。 //AfxMessageBox(str)。 if (i j) { m_strFullPath = (j i)。 } if (m_strFullPath == 39。/39。) { return 0。 } else { int i = () 2。 // 省略最后的一個(gè)‘/’ for (。i=0。i) { if ((i) == 39。/39。) { CString temp。 temp = (i)。 m_strFullPath = temp。 m_strFullPath +=39。/39。 CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 當(dāng)前目錄為: + m_strFullPath+ \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 return 1。 } } } return 1。}// 用temp返回服務(wù)器的當(dāng)前路徑void CFtpOperate::GetPath(CString amp。temp){ temp = m_strFullPath。}// 信息輸出的控件句柄傳入void CFtpOperate::setEidt(CEdit *pEdiMessage) { pEdiMes = pEdiMessage。}// 移除,index為0表示移除文件夾,否則為移除文件int CFtpOperate::DeleteFTPf(CString remote,int index) { if (flag != 2) { // 連接未成功 return 0。 } CWaitCursor cursor。 // init some var BOOL goodfile。 int x=0。 CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 if (index == 0) { strTime += 刪除文件夾,請(qǐng)稍候: + remote + .......\r\n。 } else { strTime += 刪除文件,請(qǐng)稍候: + remote + .......\r\n。 } nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 pFtpConnectionSetCurrentDirectory(m_strFullPath)。 // if (index == 0) { // 刪除文件夾 goodfile = pFtpConnectionRemoveDirectory(m_strFullPath+39。/39。+remote)。 } else { // 刪除文件 goodfile = pFtpConnectionRemove(m_strFullPath+39。/39。+remote)。 } if(!goodfile) { CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 刪除失敗,請(qǐng)重試\r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 return 0。 } else { CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 刪除文件成功: +remote + \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 } return 1。}六、測(cè)試結(jié)果 (1)本地文件列表的顯示、各控件不同的選擇不會(huì)造成出現(xiàn)BUG的測(cè)試 (2)連接服務(wù)器測(cè)試,提示信息測(cè)試,不同傳輸方式測(cè)試,不同連接方式測(cè)試,是否匿名測(cè)試,服務(wù)器端文件列表測(cè)試,不同端口號(hào)的測(cè)試 (3)上傳測(cè)試(可雙擊左邊列表的文件進(jìn)行上傳,或在左邊選擇后點(diǎn)擊上傳按鈕上傳) 準(zhǔn)備將左邊的文件 陳綺貞 上傳到服務(wù)器右邊的路徑,注意不同的服務(wù)器在不同區(qū)會(huì)有不同的限制 上傳該文件花了6秒(,),完成后立即更新右邊服務(wù)器端的文件顯示在同樣的網(wǎng)絡(luò)環(huán)境下使用商業(yè)化的軟件FlashFXP上傳該文件,(3)下載測(cè)試 準(zhǔn)備將右邊的 文件下載到左邊的本地路徑中 下載該文件耗時(shí)為344秒,該文件大小為141Mb,下載完成后立即在左邊更新并顯示出來(lái),下載到的文件可正常打開在同樣的網(wǎng)絡(luò)環(huán)境下使用商業(yè)化的軟件FlashFXP同樣下載該文件,耗時(shí)為340s(4)其它測(cè)試 由于手上只有廣東工業(yè)大學(xué)的FTP服務(wù)器地址、用戶名和密碼,可能這服務(wù)器不把刪除權(quán)限開放給這個(gè)用戶名,所以不能完成刪除服務(wù)器端文件或文件夾的測(cè)試。
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1