Attachment assignment block里选择的文件是如何传到Netweaver服务器的
2023-09-14 09:02:52 时间
使用Chrome debug attachment upload page:从local laptop上选择一个file之后,断点触发:
![](https://user-images.githubusercontent.com/5669954/54251073-152ed800-4581-11e9-8a8a-bb84ba600ce4.png)
前端取得user选中的file name:
![](https://user-images.githubusercontent.com/5669954/54251074-152ed800-4581-11e9-9d32-bac7737263be.png)
![](https://user-images.githubusercontent.com/5669954/54251075-15c76e80-4581-11e9-892c-60885f0b5b73.png)
点Attach button后,触发Application server 的event handler:
![](https://user-images.githubusercontent.com/5669954/54251076-15c76e80-4581-11e9-9aa8-45f7c32175a3.png)
![](https://user-images.githubusercontent.com/5669954/54251078-16600500-4581-11e9-901d-f8560c30b76d.png)
![](https://user-images.githubusercontent.com/5669954/54251079-16f89b80-4581-11e9-9275-d381a77e8816.png)
从Chrome network tab能观察到,UI向Application server发送了一个http post:
![](https://user-images.githubusercontent.com/5669954/54251081-16f89b80-4581-11e9-89e3-22ce4866e16e.png)
LOOP所有form parts:
![](https://user-images.githubusercontent.com/5669954/54251082-17913200-4581-11e9-99c4-b26107c23b0d.png)
从对应的form part里取出file name, file type:
![](https://user-images.githubusercontent.com/5669954/54251084-17913200-4581-11e9-8d62-e0069ebad43c.png)
以及实际的文件内容(由于security原因,该form part的内容无法在Chrome的network里观察到)
![](https://user-images.githubusercontent.com/5669954/54251085-17913200-4581-11e9-8450-f707e909e0ac.png)
![](https://user-images.githubusercontent.com/5669954/54251086-1829c880-4581-11e9-9f1b-3dd221edd200.png)
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- ASP.NET Core 6框架揭秘实例演示[29]:搭建文件服务器
- 网络文件服务器_文件存储服务器
- 如何自己搭建服务器_文件服务器搭建
- keil如何生成bin文件_ccs6如何生成bin文件
- js漂浮广告代码_JavaScript上传文件代码
- 配置VSFTP文件服务器
- php 拉取 gz 文件进行解压后保存到自己的服务器
- FFMPEG读取本地文件推流到RTMP服务器!
- 安装配置:linux搭建FastDFS文件服务器的详细过程
- SpringMVC结合Ajaxfileupload异步多文件上传至远程服务器详解编程语言
- 基于Linux的文件服务器搭建实践(linux文件服务器搭建)
- 如何从TFTP服务器下载文件?
- 快速传输:Linux服务器之间的文件传输(linux服务器间传文件)
- Linux Shell Scripts中的神奇魔力(linux的.sh文件)
- Linux系统如何快速找到文件?(找文件linux)
- 如何在Linux系统中将文件上传到服务器上(linux上传到服务器上)
- Mac用户如何快速传输文件到Linux服务器(mac上传文件到linux服务器)
- php环境无法上传文件的解决方法
- ruby使用restclient上传服务器本地文件示例