开发者

Is it possible to upload an FTP file using the InternetExplorer COM object?

开发者 https://www.devze.com 2023-04-01 22:05 出处:网络
Is it possible to开发者_开发百科 instantiate an IE COM object and use it to programmatically upload a file to an FTP site?I\'m not 100% sure but I don\'t think there\'s an easy way to accomplish this

Is it possible to开发者_开发百科 instantiate an IE COM object and use it to programmatically upload a file to an FTP site?


I'm not 100% sure but I don't think there's an easy way to accomplish this - but then the IE COM object has tons of functions.... Assuming you're looking for a solution that's guaranteed to be available on Windows computers, a simpler route would be to use wininet. That API is relatively simple to use, has explicit support for ftp and is well documented on MSDN and other places.

0

精彩评论

暂无评论...
验证码 换一张
取 消