Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Path: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23:46:04 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/fileinfo/properties/Path.htm --> | <!-- Generated @ 08/12/2022 23:46:04 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/fileinfo/properties/Path.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Index|Properties]].Path Property = | ||
Returns the absolute path of the file that is being transferred. | Returns the absolute path of the file that is being transferred. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 13: | Line 13: | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
Line 20: | Line 20: | ||
</div> | </div> | ||
Property Value | === Property Value === | ||
A string containing the full path (absolute file name, starting with a drive letter or network path) of the file being transferred. If no files are currently being transferred, this property has no value. | A string containing the full path (absolute file name, starting with a drive letter or network path) of the file being transferred. If no files are currently being transferred, this property has no value. | ||
VBScript Example | === VBScript Example === | ||
To display the path of a file being transferred, use the value of <span class="clsMethod">FileInfo.Path</span>. | To display the path of a file being transferred, use the value of <span class="clsMethod">FileInfo.Path</span>. | ||
Line 33: | Line 33: | ||
Set myChannel = external.Channel | Set myChannel = external.Channel | ||
testFile = myChannel.FileInfo | testFile = myChannel.FileInfo | ||
tdFileStatusBar.innerHTML = "File transfer in progress, filename is " + testFile.Path | tdFileStatusBar.innerHTML = "File transfer in progress, filename is " + testFile.Path</pre> | ||
</div> | </div> |
Latest revision as of 01:55, 13 August 2022
Properties.Path Property
Returns the absolute path of the file that is being transferred.
VBScript Syntax
external.Channel.FileInfo.Path
JavaScript Syntax
window.external.Channel.FileInfo.Path
Property Value
A string containing the full path (absolute file name, starting with a drive letter or network path) of the file being transferred. If no files are currently being transferred, this property has no value.
VBScript Example
To display the path of a file being transferred, use the value of FileInfo.Path.
Dim testFile Set myChannel = external.Channel testFile = myChannel.FileInfo tdFileStatusBar.innerHTML = "File transfer in progress, filename is " + testFile.Path