Home > database >  About Mftpx. The use of ocx
About Mftpx. The use of ocx

Time:09-24

Mftpx. Ocx is very convenient to upload and download, but the downside is fault tolerance is bad, method without a return value (maybe I don't know how to use);
Currently in the process of using I met a very serious problem,
I will upload information, but I want to judge whether the directory already exists, does not exist is created, I found two days, also a lot of experimental method, the result still can't solve the
If not solve, and is very dangerous, because once you create a directory already exists, the OCX will cause the program interrupt execution,
You in ever use or understand Mftpx. OCX method of use, please advise,

CodePudding user response:

Can traverse the file, the existence of traverse the file to view the folder and

CodePudding user response:

Ole_ftp. Object. Changedir (" directory on the FTP ")
Ole_ftp. Object. Getdirlist ()

Then in ole_ftp diritem events, to determine the item parameter

CodePudding user response:

First of all, thank you upstairs reply!
I also tested your approach, but not good processing, first, and the directory DIR cannot be traversed out
Second, too hard to judge the item parameter, even now I did not understand the item of the division of the value of the symbol is a space, or a TAB. Whether or not the item's value is the length of specification of

If you have any experience in upstairs, please help to explain it,

CodePudding user response:

Msinet. Ocx good, ha ha

CodePudding user response:

4 floor have msinet. Ocx use cases?
And if so, whether convenient, send a for me?

CodePudding user response:

http://download.csdn.net/detail/xiajinxian/3311143
This is encapsulation I upload, want to go to download a msinet. Cx,
Assignment of property, direct use uf_exec function to perform
  • Related