Home > Software engineering >  Call INET components access to FTP error???
Call INET components access to FTP error???

Time:10-19

My code to an FTP access to local area network (IIS) on, so the reference to the component:



Code is such a tuning (access to FTP under the root directory of the folder list) :

The cURL="ftp://192.168.0.7/"
Username="igussh \ guest" 'user name with the domain name
PassWord="111111"
The Set rc.inet1=CreateObject (" InetCtls. Inet)

Rc.inet1. Protocol Protocol type=icFTP '
Rc.inet1. Url=cURL
Rc.inet1. RemotePort=21
Rc.inet1. Username=username
Rc.inet1. PassWord=PassWord

Rc.inet1. Execute, "ls"
Temp=rc.inet1. GetChunk (1024)

This code in my local debugging are run through, can also access the FTP and get to the value of the temp, but after deployment to the client, running is an error, as follows:



I thought that is the client IIS shipped without reason, but after installation or at the wrong, I put the MSINET. OCX kao registered to the client, or to the fault,

How be to return a responsibility excuse me, thank you!

CodePudding user response:

Since you add reference, then the
Dim rc.inet1 As New InetCtls. Inet
Can you come out?
  • Related