PowerTCP FTP for .NET
AutoSize Property



Set to true to enable automatic use of the SIZE command for displaying progress information.
Syntax
<DefaultValueAttribute(True)>
Public Property AutoSize As Boolean
Dim instance As FtpSession
Dim value As Boolean
 
instance.AutoSize = value
 
value = instance.AutoSize
[DefaultValue(true)]
public bool AutoSize {get; set;}
[DefaultValue(true)]
public:
property bool AutoSize {
   bool get();
   void set (    bool value);
}
Remarks
Defaults to true, so if the server supports the SIZE command it is used to populate CopyResult.Length and ListProgress.TotalBytes. If these values are not required, then setting this property to false will disable its use.
See Also

Reference

FtpSession Class
FtpSession Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic