SourcePort Property

Description

Returns the source port of the file transfer.

Syntax
object.SourcePort

Remarks

This property can be used to determine the IP port of the sender. One of the uses of this property is to ensure that the source you received a transfer from is the correct source. This property can be useful both as a security measure to validate transfer sources, and also to sort out transfers from more than one source. Note that the EndpointPort property in a multicast transfer indicates the multicast port that the receiver is listening to, not the sender's port.

This property is available after at least one file transfer.

See Also

Return to File Transfer Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.