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

正文內(nèi)容

ftp客戶端-x-x(參考版)

2025-07-29 07:39本頁面
  

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