peTransferFlags - InetTransfer
Various flags that control how file/data should be transferred
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer peTransferFlags
| Access Type | Syntax |
|---|---|
| Read Access: | Get peTransferFlags to IntegerVariable |
| Write Access: | Set peTransferFlags to IntegerVariable/Value |
Description
peTransferFlags are various flags that control how file/data should be transferred.
This property, used with GetRequest, PostRequest and PutRequest, can contain any number of the following values:
| Col 1 | Col 2 |
|---|---|
| ifReload | retrieve the original item |
| ifNoCacheWrite | don't write this item to the cache |
| ifMakePersistent | make this item persistent in cache |
| ifFromCache | Use offline semantics |
| ifSecure | Use PCT/SSL If applicable (HTTP) |
| ifKeepConnection | Use keep-alive semantics |
| ifNoAutoRedirect | don't handle redirections automatically |
| ifReadPrefetch | do background Read prefetch |
| ifNoCookies | no automatic cookie handling |
| ifNoAuth | no automatic authentication handling |
| ifCacheIfNetFail | return cache file If net request fails |
| ifIgnoreRedirectToHttp | ex: https:// to http:// |
| IfIgnoreRedirectToHttps | ex: http:// to https:// |
| IfIgnoreCertDateInvalid | expired X509 Cert. |
| IfIgnoreCertCnInvalid | bad common name in X509 Cert. |
| ifResynchronize | asking wininet to update an item If it is newer |
| ifHyperlink | asking wininet to do hyperlinking semantic which works right for scripts |
| ifNoUi | no cookie popup |
| ifPragmaNocache | asking wininet to Add "pragma: no-cache" |
| ifCacheAsync | ok to perform lazy cache-Write |
| ifFormsSubmit | this is a forms submit |
| ifNeedFile | need a file for this request |
The "if" prefix means "internet flag".
If you set the ifSecure flag to access an SSL site (HTTPS), you will probably also need to set the remote port (piRemotePort) to rpHttpSSL.
Set piRemotePort to rpHttpSSL
Set peTransferFlags to ifSecure