dongmaopan5738 2012-10-08 06:03
浏览 58

如何使用jquery / javascript读取文件(带窗口路径),然后上传到另一台服务器或PC

I would like to have a codes in jQuery and PHP that will...

  • Read a file (Windows path-e.g. "C:\Documents and Settings\user\Desktop\Sample_CSV.csv") from HTML using jQuery/json

< HTML Codes > File Name : < input type="file" name="FileToBeUploaded" id="FileToBeUploaded" >

  • Upload to another server or PC using jQuery and PHP
  • 写回答

1条回答 默认 最新

  • douchun5976 2012-10-08 06:06
    关注

    That is not possible with JavaScript (though it is possible by use of Java (such as a Webstart application)). You will have to use a <input type="file" name="your-upload-name" /> along with a library such as jQuery-File-Upload.

    评论

报告相同问题?

悬赏问题

  • ¥15 Stata 面板数据模型选择
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用