Home > Software engineering >  Tip about inet download file is still on a request in the implementation of the problem, online, etc
Tip about inet download file is still on a request in the implementation of the problem, online, etc

Time:11-01

Want to use the inet control implementation of FTP download, but with this user login need to return to the parent directory into the need to access the folder, the HTML code is as follows, cannot download, such as access to user folder can I use,
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,