|
提需求
联系方式: |
earthsong@163.com |
金额: |
50 元 |
本帖最后由 lancome 于 2017-4-26 15:59 编辑
在网上查询了很久,很多只是简单的说明没有具体的代码演示,用论坛高手的生成文件总是报错“数组下限”,至今没有找到httphelper上传的方法,大家有没有简单的方案,可以上传pdf文件,万分感谢!
这是一个pdf上传,我需要上传几千份,怎么样比较方便。
下面是抓包生成的工具,百度上没有任何这类信息。求帮忙,在线等!!!
POST /sgpmss/comanage/contractInfo_save.action HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, */*
Referer: http://172.12.110.110/sgp/coman/ConractInfo.action?contract_no=FXGY16018356&app_no=288111536117
Accept-Language: zh-cn
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727)
Content-Type: multipart/form-data; boundary=---------------------------7e19c20160578
Accept-Encoding: gzip, deflate
Host: 172.12.110.110
Content-Length: 1530168
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: sys_user_name=225522; loginflag=; JSESSIONID=f5WDZQ3TLQ16Qx5QVzln8hlGCsx9T1Gy!; BIGipServerpool_yewu_7=3531149740.89851.0000
-----------------------------7e19c20160578
Content-Disposition: form-data; name="reUploadFlag"
1
-----------------------------7e19c20160578
Content-Disposition: form-data; name="contract_id"
288111536117
-----------------------------7e19c20160578
Content-Disposition: form-data; name="file_path"
1471363200000.FXGY16018356.pdf
-----------------------------7e19c20160578
Content-Disposition: form-data; name="draft_date"
2016-08-17
-----------------------------7e19c20160578
Content-Disposition: form-data; name="app_no"
588111536117
-----------------------------7e19c20160578
Content-Disposition: form-data; name="contract_no"
FXGY16018356.pdf
-----------------------------7e19c20160578
Content-Disposition: form-data; name="cons_no"
5808583525
-----------------------------7e19c20160578
Content-Disposition: form-data; name="sort_code"
01
-----------------------------7e19c20160578
Content-Disposition: form-data; name="type_code"
03
-----------------------------7e19c20160578
Content-Disposition: form-data; name="oper_type_code"
01
-----------------------------7e19c20160578
Content-Disposition: form-data; name="ps_signatory"
aa
-----------------------------7e19c20160578
Content-Disposition: form-data; name="cons_signatory"
bb-----------------------------7e19c20160578
Content-Disposition: form-data; name="status_code"
2
-----------------------------7e19c20160578
Content-Disposition: form-data; name="sign_addr"
cc-----------------------------7e19c20160578
Content-Disposition: form-data; name="sign_date"
2016-08-22
-----------------------------7e19c20160578
Content-Disposition: form-data; name="end_date"
6666-01-01
-----------------------------7e19c20160578
Content-Disposition: form-data; name="cons_sign_date"
2013-08-22 00:00:00.0
-----------------------------7e19c20160578
Content-Disposition: form-data; name="renew_flag"
1
-----------------------------7e19c20160578
Content-Disposition: form-data; name="format_code"
01
-----------------------------7e19c20160578
Content-Disposition: form-data; name="attach"; filename="E:\www\tt\5808583525.pdf"
Content-Type: application/pdf
%PDF-1.3
%肪
1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
>>
endobj
2 0 obj
<<
/Type /Pages
/Kids [ 4 0 R 9 0 R 14 0 R 19 0 R ]
/Count 4
>>
endobj
3 0 obj
<<
/Producer (SNBC\0402.0.8)
>>
endobj
4 0 obj
<<
/Type /Page
/MediaBox [ 0 0 597 828 ]
/Contents 5 0 R
/Resources <<
/ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
/XObject <<
/X1 7 0 R
>>
>>
/Parent 2 0 R
>>
endobj
5 0 obj
<<
/Length 6 0 R
>>
stream
q
597 0 0 828 0 0 cm
/X1 Do
Q
endstream
endobj
6 0 obj
30
endobj
7 0 obj
<<
/Length 8 0 R
/Type /XObject
/Subtype /Image
/Height 2301
/Width 1659
/ColorSpace /DeviceRGB
/BitsPerComponent 8
/Filter [ /DCTDecode ]
>>
stream
|
|