adTempus API
ArcanaDevelopment.adTempus.Client Namespace / SftpServer Class / UseTempFile Property


In This Topic
    UseTempFile Property (SftpServer)
    In This Topic
    Determines whether a temporary file will be used during uploads
    Syntax
    'Declaration
     
    
    Public Property UseTempFile As Boolean
    public bool UseTempFile {get; set;}
    public:
    property bool UseTempFile {
       bool get();
       void set (    bool value);
    }
    Remarks

    If true adTempus will upload to a temporary file and then rename the temporary file to the final name after upload completes. If false the file will be uploaded directly to the final name.

    This setting is only valid for adTempus server version 5.0 or later. For earlier versions use the global option "FileTransfer:UseTempFileForUpload" to control this behavior.

    See Also