SourceFile Property
File to be compressed into a self-decrypting archive.
Object Oriented Interface
public function getSourceFile(); public function setSourceFile($value);
Procedural Interface
ipworksopenpgp_sda_get($res, 10 ); ipworksopenpgp_sda_set($res, 10, $value );
Default Value
''
Remarks
This property specifies the name of a single file to be compressed. When both SourceFile and SourceDirectory are set, only SourceDirectory is used.
Example (Creating a Self-Decrypting Archive)
class.ArchiveFile = "c:\test.exe" class.RecurseSubdirectories = true class.SourceDirectory = "c:\foo\" class.CaptionText = "Testing SDA" class.BannerText = "Press continue to decompress the archive." class.CreateSDA() class.ArchiveFile = "c:\test.exe" class.SourceFile = "c:\foo\bar.dat" class.CaptionText = "Testing SDA" class.BannerText = "Press continue to decompress the archive." class.CreateSDA()
Data Type
String