drnycqxwz63508434 2013-11-22 17:49
浏览 125
已采纳

选择文件夹路径以保存文件

I am building an online storage site where users can upload their files (this part of the coding is done). After uploading files users must have an option to download them. this is where I'm stuck. I want to add code that will let my users see a dialog box saying to choose the path , where in the pc the file will download. similar to this image (given in the link)

http://www.libraries.psu.edu/content/psul/cataloging/deptinfo/deptgroups/ecip/localsavefile/_jcr_content/openpar/textimage_psul_1/image.img.jpg/1369406997262.jpg

my question is, can I build this dialog box in php? if it is possible in php then what function do I need for coding. please say anything so that I can find a point to began with.

---thanks.

  • 写回答

1条回答 默认 最新

  • dsgawmla208057 2013-11-22 17:52
    关注

    This is something you (the programmer) don't have control over. When a file is downloaded by the browser, it's the browsers settings that define where the file is saved or if it's saved automatically w/o folder selection or lets the user select a target folder.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
  • ¥15 乘性高斯噪声在深度学习网络中的应用