Open KRAM4321 opened 6 years ago
Hello, Could you please add log file? And one hint : User has to have rights for File Station application. Thanks
Hi!
With the same user I can create, move, delete, etc... files in File Station application.
Log: [INFO][SettingsActivity] Getting address : ****:5000 https:false [INFO][SettingsActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.CheckPermission=3 [INFO][SettingsActivity] Logged-in OK, sid=5JeZBeODYx6h61430M4N004777 [ERROR][SettingsActivity] Problem during permission check: 408 [INFO][SettingsActivity] Logged-out
Thanks!!
According to Synology API document error 408 means "No such file or directory". I got error 408 when I fill not existing directory in. Please check if directory exists and user has got appropriate rights to this directory.
Hi! ok, change the path "/volume1/test" to "/test" and now it works. The button changed to "save and exit", the problem now is when I upload the photo ("upload now" button), the error appears after "uploading 1/1" "connection error 401"
With the same user I can create, move, delete, etc... files in File Station application
PD: No upload .arw files?
Regards!
[INFO][SettingsActivity] Getting address : ****:5000 https:false [INFO][SettingsActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.CheckPermission=3 [INFO][SettingsActivity] Logged-in OK, sid=5lldhiAa5rQZs1430M4N004777 [INFO][SettingsActivity] Check permission OK. Directory=/test [INFO][SettingsActivity] Logged-out [INFO][SettingsActivity] Saved and Go to MainActivity [INFO][MainActivity] Getting address : ****:5000 https:false [INFO][MainActivity] Publish progress: Connecting to the server... [INFO][MainActivity] Got maxVersions: SYNO.API.Auth=6, SYNO.FileStation.Upload=3 [INFO][MainActivity] Logged-in OK, sid=iJ.gvdSLyE46w1430M4N004777 [INFO][MainActivity] Publish progress: Uploading 1 / 1 [INFO][MainActivity] UploadVersion=3 [INFO][MainActivity] Path=//test/ILCE-6000/30072018 [INFO][MainActivity] Filename=DSC00002.JPG [INFO][MainActivity] Error during upload: 401 [INFO][MainActivity] Publish progress: Connection error : 401 [ERROR][MainActivity] HttpException - org.apache.http.HttpException: 401
Please try only "test" as directory without backslash. Let me know. Thanks
Hi LubikR!
Ok, now work and upload the images, but only in JPG format. Do not upload raw and video files?
Regards!
Hello, For video files I`ve raised an issue in framework project, see https://github.com/ma1co/OpenMemories-Framework/issues/20
Raw files - I am not able to test it because my camera doesn`t support raw files but it seems to be framework problem. Application uploads everything what mediaManager.queryImages() returns. I will check it if there is some way how to query raw files.
Hi LubikR
Any new ? :)
Thanks!
Did you ever figure anything out in regards to RAW files?
I'm not sure if he is active on this app anymore. Maybe someone else should pick the mantle up. The other upload app, STG uploader app, actually has an excellent implementation with a well-functioning file scanner detecting all available filetypes on the card. You can see the source here.
hi
When I enter the data to connect first time, the error "Permission Problem: Synology returns error 408" appears. If I use my user within Synology, I can create folders and files in the same path
Sony A6000
Thanks!!