IPWorks SFTP 2020 JavaScript Edition

Questions / Feedback?

CreateFile Method

Creates a file on the SFTP server.

Syntax

async sftp.createFile(fileName : string): Promise<void>

Remarks

This method creates an empty file on the server with the name specified by the FileName parameter.

To upload a file with content use Upload instead.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 JavaScript Edition - Version 20.0 [Build 8263]