Hi,
when I upload files through de FileStation Web API, the files are uploaded however it seems that the characters "0d0a" are added as binary characters in front of the file. With pdf-files it seems it doesn't matter and the files can be opened, however with office-documents (excel & word), the files become corrupted and can't be opened. Any one have any similar isues or solution for this?
API - uploaded files corrupt
-
- Starting out
- Posts: 10
- Joined: Thu Feb 22, 2018 3:21 am
-
- Experience counts
- Posts: 2043
- Joined: Thu Mar 03, 2016 1:11 am
Re: API - uploaded files corrupt
Hi,
tried to check this out, but I am failing at easiest commands.
Seems, that QTS 5.0.0.1932 has a API version 5.5.5!?
See output from all commands (no matter which command was run)
But I can only find a manual for API 4.1 and it seems, that some commands/return values are different now.
Did you find a more recent API guide?
Regards
tried to check this out, but I am failing at easiest commands.
Seems, that QTS 5.0.0.1932 has a API version 5.5.5!?
See output from all commands (no matter which command was run)
But I can only find a manual for API 4.1 and it seems, that some commands/return values are different now.
Did you find a more recent API guide?
Regards
You do not have the required permissions to view the files attached to this post.
A raid is never a substitute for backup! Never!
Deadbolt - READ 1st post!!!
Deadbolt - information
Deadbolt - find your OP_RETURN!
VPN=VPN? No!
How to clean up your NAS after malware attack
www.raidisnotabackup.com
Deadbolt - READ 1st post!!!
Deadbolt - information
Deadbolt - find your OP_RETURN!
VPN=VPN? No!
How to clean up your NAS after malware attack
www.raidisnotabackup.com
-
- Starting out
- Posts: 10
- Joined: Thu Feb 22, 2018 3:21 am
Re: API - uploaded files corrupt
Hi FSC830,
that's also the only manual I've found. The NAS I'm working on has QTS 4.3.3.1864, which is the last one for the TS-212P. I find it hard to find any (good) documentation to use the API. So it's a lot of trial and error. If any one has some idea where more information on the API can be found, that would be helpfull.
that's also the only manual I've found. The NAS I'm working on has QTS 4.3.3.1864, which is the last one for the TS-212P. I find it hard to find any (good) documentation to use the API. So it's a lot of trial and error. If any one has some idea where more information on the API can be found, that would be helpfull.
-
- New here
- Posts: 3
- Joined: Thu May 26, 2022 12:37 pm
Re: API - uploaded files corrupt
Hi,
Can you please tell me how to upload file? I have been using the Http call from webAPI as described in their pdf file but the file didn't get uploaded for some reason. I am trying to upload a txt file though.
for example, in the code, if i write ".....&progress=-Public-textfile.txt" , will a new textfile called "textfile.txt" without anything written be uploaded?
I alwasy receive {"version": "5.0.2", "build":"20210624", "status":0, "success":"true"} as a result.
Can you please tell me how to upload file? I have been using the Http call from webAPI as described in their pdf file but the file didn't get uploaded for some reason. I am trying to upload a txt file though.
for example, in the code, if i write ".....&progress=-Public-textfile.txt" , will a new textfile called "textfile.txt" without anything written be uploaded?
I alwasy receive {"version": "5.0.2", "build":"20210624", "status":0, "success":"true"} as a result.