lssce1122 發表於 2014-1-7 23:43:33

請各位幫個忙

我要用vb6做出 text1.text的內容自動在ftp的某個資料夾建設txt檔  該如何進行

love138852 發表於 2017-2-1 11:13:11

'建議使用VB.Net製作

設置4個Textbox 2個Button 1個ofdBrowse

Textbox1 = FTP網址
Textbox2 = FTP帳號
Textbox3 = FTP密碼
Textbox4、Button1 = 選擇要上傳的檔案(FTP)

Button1:
If ofdBrowse.showDialog = DialogResult.OK Then
txtfile.Text = ofdBrowse.FileName
End If

Button2:
My.Compter.Network.UploadFile(txtFile.Text, txtServer.Text & ofdBrowse.SafeFileName, tetUser.Text, txtPassword.Text)

love138852 發表於 2017-2-9 13:07:19

love138852 發表於 2017-2-1 11:13 static/image/common/back.gif
'建議使用VB.Net製作

設置4個Textbox 2個Button 1個ofdBrowse


我知道,所以我想說叫他用Net寫
頁: [1]
查看完整版本: 請各位幫個忙