Rc.inet1. URL="192.168.2.1"
Rc.inet1. UserName="he"
Rc.inet1. Password="zz123"
Rc.inet1. AccessType=icUseDefault 'setting and the type of Internet connection, the default
Rc.inet1. Protocol=icFTP
Rc.inet1. RemotePort=21
Rc.inet1. Cancel
Rc.inet1. Execute "CD.. "
The Do While rc.inet1. StillExecuting
DoEvents
Loop
Rc.inet1. Execute, "GET" & amp;/he8c/111 JPG "/" & amp; App. The path & amp; "/111 JPG"
The Do While rc.inet1. StillExecuting
DoEvents
Loop
Rc.inet1. Execute, "close"
Rc.inet1. Execute, "quit"
If Dir (App. Path & amp; "\ 111 JPG")="" Then
MsgBox (" CAN NOT FIND THE TESTDATA ")
'Label3. Caption="download success"
The Else
MsgBox (" download success!" )
End If
CodePudding user response:
See help to analyze, thank you.CodePudding user response:
No one know?CodePudding user response:
Look up a lot of posts are not,