IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

source_file Property

File to be compressed into a self-decrypting archive.

Syntax

def get_source_file() -> str: ...
def set_source_file(value: str) -> None: ...

source_file = property(get_source_file, set_source_file)

Default Value

""

Remarks

This property specifies the name of a single file to be compressed. When both source_file and source_directory are set, only source_directory 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()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8161]