0
2
KKKhalid Khan
This code creates a new file in the specified bucket using the specified file id and file name in appwrite storage.
Shortcut: appwrite.storage.createfile
val response = storage.createFile(
bucketId = "[BUCKET_ID]",
fileId = "[FILE_ID]",
file = File("filename"),
)