I was able to successfully upload the necessary file to the “mission” folder using the Flutter SDK, but the task completion isn’t reflected. This is the same issue that another user encountered. Could you please mark this task as complete for me so that I can continue?
Here’s the snippet of code I used:
String filename = ‘/superfast.html’;
final path = (await getApplicationDocumentsDirectory()).path;
final file = await File(path + filename).writeAsString(‘Hello, world!’);
var result = await Backendless.files.upload(file, ‘/mission’);
file.delete();
print(‘file uploaded: $result’);
could you please try to make the same request, but with a little difference? I’d like to ask to you remove a slash before the mission folder name. So that the following part of you code: var result = await Backendless.files.upload(file, ‘/mission’);
becomes: var result = await Backendless.files.upload(file, ‘mission’);
Also please remove the existing file before this.
And let me know please if the task is completed for you after that.