IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

AttachedFile Property

A file to append to PostData if the POST or PUT methods are used.

Syntax

[VB.NET]
Public Property AttachedFile As String

[C#]
public string AttachedFile {get; set;}

Remarks

If this property contains a non-empty string, then if the HTTP 'POST' or 'PUT' methods are used (through the Post or Put methods), the contents of this property are appended to the HTTP request after any data in PostData.

An HTTP 'Content-Length' header is also added to request. Its value is the cumulative length of the PostData string and the file.

If data is being uploaded to a web service the WebUpload component is recommended as it will automatically encode file and form variables. Alternatively the MIME component may be used to construct the raw MIME entity which may be sent via this property.

This property is not available at design time.

Default Value

""

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]