帮助,如何在Web浏览器表单中设置默认文件夹下载? [英] Help, how can i set a default folder download in a web browser form?

查看:105
本文介绍了帮助,如何在Web浏览器表单中设置默认文件夹下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试解释.
我仅用4个命令(后退,前进,停止和刷新)在C ++中制作了一个小型浏览器.
我的需要是:
每次浏览器下载文件时,我都希望将该文件放在一个确定的文件夹中.我不想为用户选择.
谢谢
对不起,我的英语.

I''m trying to explain.
I''ve made a little browser in C++ with only 4 commands (Back, Forward, Stop and refresh).
My need is:
every time the browser download a file, I want to put that file in a determinate folder. I don''t want that choose for the user.
Thanks
Sorry for my english.

推荐答案

我认为您对问题的思考过多.

只需使用字符串和标准文件IO将文件保存到路径即可.不要提供弹出窗口.

除非您不是说您没有制作浏览器,而是您已经包装了IE?
I think you''re overthinking the problem.

Just use a string and standard file IO to save the file to a path. DON''T provide a popup.

Unless you mean you didn''t make a browser, but you''ve wrapped IE?


...是的,我已经包装了IE .... I've以某种形式使用网络浏览器工具...
...Yes, I''ve wrapped IE....I''ve use a webbrowser tool in a form...


这篇关于帮助,如何在Web浏览器表单中设置默认文件夹下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆