Upload file with 0 bytes

cancel
Showing results for 
Search instead for 
Did you mean: 
kamilaw_
Member II

Upload file with 0 bytes

Is there same way how to upload file without content, e.g. emptyFile.docx?

1 Reply
mehe
Senior Member II

Re: Upload file with 0 bytes

Why initiating an upload when there is nothing to upload? Just create a node with the appropriate filename, for example via REST Smiley Happy (and set metadata and content.mimetype as needed)