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

正文內容

ftp客戶端-x-x-資料下載頁

2025-07-26 07:39本頁面
  

【正文】 cursor。 BOOL goodfile。 int x=0。 pFtpConnectionSetCurrentDirectory(m_strFullPath)。 CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 上傳文件,請稍候: + local+ \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 if (bBinary1 == 1) { // 二進制方式 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) { // 自動方式 goodfile = pFtpConnectionPutFile(local,m_strFullPath+remote,FTP_TRANSFER_TYPE_UNKNOWN)。 } } if(!goodfile) { CurrentTime=CTime::GetCurrentTime()。 (%d/%d/%d %d:%d:%d ,(),(), (),(), (), ())。 strTime += 上傳出錯,請重試\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。}// 設置服務器下一層文件目錄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 += 當前目錄為: + 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。 // 省略最后的一個‘/’ 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 += 當前目錄為: + m_strFullPath+ \r\n。 nLength = pEdiMesSendMessage(WM_GETTEXTLENGTH)。 pEdiMesSetSel(nLength, nLength)。 pEdiMesReplaceSel(strTime)。 return 1。 } } } return 1。}// 用temp返回服務器的當前路徑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 += 刪除文件夾,請稍候: + remote + .......\r\n。 } else { strTime += 刪除文件,請稍候: + 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 += 刪除失敗,請重試\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。}六、測試結果 (1)本地文件列表的顯示、各控件不同的選擇不會造成出現(xiàn)BUG的測試 (2)連接服務器測試,提示信息測試,不同傳輸方式測試,不同連接方式測試,是否匿名測試,服務器端文件列表測試,不同端口號的測試 (3)上傳測試(可雙擊左邊列表的文件進行上傳,或在左邊選擇后點擊上傳按鈕上傳) 準備將左邊的文件 陳綺貞 上傳到服務器右邊的路徑,注意不同的服務器在不同區(qū)會有不同的限制 上傳該文件花了6秒(,),完成后立即更新右邊服務器端的文件顯示在同樣的網絡環(huán)境下使用商業(yè)化的軟件FlashFXP上傳該文件,(3)下載測試 準備將右邊的 文件下載到左邊的本地路徑中 下載該文件耗時為344秒,該文件大小為141Mb,下載完成后立即在左邊更新并顯示出來,下載到的文件可正常打開在同樣的網絡環(huán)境下使用商業(yè)化的軟件FlashFXP同樣下載該文件,耗時為340s(4)其它測試 由于手上只有廣東工業(yè)大學的FTP服務器地址、用戶名和密碼,可能這服務器不把刪除權限開放給這個用戶名,所以不能完成刪除服務器端文件或文件夾的測試。
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1