簡體   English   中英

在 FormEncodedHTTPEntityCreator 中傳遞 url 時,“非法嘗試上傳文檔”

[英]"An illegal attempt was made to upload a document" when passing a url in a FormEncodedHTTPEntityCreator

我正在上傳一個帶有發布請求的文件。 在表單數據中,受curl的啟發,我給出了以下form參數type=144&parent_id=819449945&name=success5&file=@D:\CustomTools\omicron\test.xlsx

然后,我將其傳遞給 HTTP Entity Creator,希望我的文件最終出現在另一端。 相反,我收到以下錯誤:

An illegal attempt was made to upload a document

在 Knime 的特定情況下,此錯誤意味着什么,我該如何解決?

在此處輸入圖像描述

不要添加&file=@D:\CustomTools\omicron\test.xlsx ,不支持此語法。 相反,這是由Multipart Encoded HTTP Entity Creator節點提供的部分。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM