getVerifiedSWFs()

RTMP/E

 getVerifiedSWFs(appInst:String) : Object

HTTP

 http://www.example.com:1111/admin/getVerifiedSwfs?auser=username&apswd=password&appInst=name

Returns the hashes for all the SWFs connected with a specified application.

Availability

Flash Communication Server 3.5.5.

Parameters

appInst

A String indicating the name of the instance of the application, in the formapplication_name/instance_name.

auser

A String indicating the user name of the administrator.

apswd

A String indicating the password of the administrator.

Returns

RTMP/E

If the server sends a reply information object with a level property of status, a code property of NetConnection.Call.Success, and a data property that is an object. The data object has the following properties:

Property

Description

name

Name of AMSCore for which the files are listed.

i

Where i is an int and is index of swf data. It repeats for number of swfs. Each of this data object contains following properties:

  • path - Complete path to the SWF

  • expires - The time when SWF verification expires. In UTC format.

  • fileSize - Disk size of file (in bytes)

  • uncompressSize - If compressed, provides full length of uncompressed swf. Else it is the same as fileSize. (in bytes)

If the call fails, the server sends a reply information object with a level property of error and a code property of NetConnection.Call.Failed or a more specific value, if available. Some objects might also have a description property that contains a string describing the cause of the failure.

HTTP

If the call succeeds, it returns XML with the following structure:

 <result> <level>status</level> <code>NetConnection.Call.Success</code> <timestamp>1/10/2011 12:54:43 PM</timestamp> <data> <name>_defaultRoot::::_0</name> <_0> <path>path to swf</path> <expires>1/11/2011 12:54:43</expires> <fileSize>464601</fileSize> <uncompressSize>866393</uncompressSize> </_0> <_1> <path>path to swf</path> <expires>1/11/2011 12:54:43</expires> <fileSize>464601</fileSize> <uncompressSize>866393</uncompressSize> </_1> </data> </result>

If the application instance is distributed over different cores then response would be like this:

<result> <level>status</level> <code>NetConnection.Call.Success</code> <timestamp>1/10/2011 12:54:43 PM</timestamp> <data> <_0> <name>_defaultRoot::::_0</name> <_0> <path>path to swf</path> <expires>1/11/2011 12:54:43</expires> <fileSize>464601</fileSize> <uncompressSize>866393</uncompressSize> </_0> </_0> <_1> <name>_defaultRoot::::_1</name> <_0> <path>path to swf</path> <expires>1/11/2011 12:54:43</expires> <fileSize>464601</fileSize> <uncompressSize>866393</uncompressSize> </_0> </_1> </data> </result>

Nested in the data element are elements for each property of the data object listed in the RTMP/E section.

If the call fails, it returns XML with the following structure:

 <result>   <level></level>   <code></code>   <description></description>   <timestamp></timestamp>  </result>

The XML elements contain the same information as the Object properties returned in an RTMP/E call.

Get help faster and easier

New user?