URL Property
      
 

Description

Holds URL path to the file.


Property type

A String value.  


Syntax

object.URL [= value]



The URL Property syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPFile.
value A String value. Relative URL of the resource.

Remarks

This property holds URL of the file if it is called through ServeFile method, so this file is provided through internal web server. It will usually contain some random path (such as /kweorewythglkjgmnfgoewoerit/realfilename.dat) so only contacts that you provide URL to them know how to request it. If you plan to provide this URL to remote side, you may want to prepend it with DataIP and DataPort details so contacts know where to connect to request this file.

 

You can change this value to anything you need, it will not affect wodXMPP's behavior, and it will still correctly serve file to contacts through.