IPWorks Cloud 2020 Python Edition

Questions / Feedback?

resize_file Method

Resizes a file.

Syntax

def resize_file(file_path: str, new_size: int) -> None: ...

Remarks

This method resizes the file at the specified FilePath in the share currently selected by share. NewSize, which is specified in bytes, cannot be negative.

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