LoadAttachment

操作

添付をファイルとして取得します。

デフォルトでは、この方法で最大100MBまでのファイルをダウンロードできます。このファイルサイズ制限は、インターネットインフォメーションサービス(IIS)マネージャーを使って無効化したり変更したりすることができます。

ダウンロードファイルの最大サイズを設定する方法は下記のとおりです:

  • つぎのように移動してください→\Sites\Default Web Site\FlexiCapture12\Server > Application Settings
  • こちらのキーを見つけます→MaxAttachmentSizeForSoap。目的のファイルのサイズをバイト数で指定します。(このキーを0に設定すると、ファイルサイズの制限が無効になります。)

注:大きなファイルをダウンロードする際は、ファイルストレージを使用することが推奨されます

定義

File LoadAttachment( int sessionId, int type, int objectId, int batchId, int projectId, string fileName );

パラメータ

名前 記述
session int アプリケーションサーバーへの接続のID
type int

添付の型。可能な値

  • 9 - 文書への添付
  • 10 - ページへの添付
  • 11 - バッチへの添付
objectId int オブジェクトのID
batchId int バッチのID
projectId int プロジェクトのID
fileName string アプリケーションサーバーから取得する添付ファイルの名前

戻り値

File 添付ファイル

25.05.2023 7:55:10

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.