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.
精彩评论