Back to product page

URL property


Holds URL path to the file.

Type

String

Syntax

  • Basic
object.URL [= value]
The URL(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPFile
valueA String value.

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.

Platforms

Windows