Can't upload files to server from android app since migration

Status
Not open for further replies.

balmdotc

New Member
Messages
1
Reaction score
0
Points
1
I have an android app that used to upload and download files from my x10 site, and I haven't changed the app since before the migration. Before the migration it worked fine, but now it will not upload any files. I noticed the permissions didn't seem correct after the migration, but even after setting all my folders to 777 full access (because I forget how I had them, but 777 should allow me to upload, right?). I still can't upload anything from the app.

Also, (a smaller problem that may be related) I used to be able to open the folders on my x10 site, just in my browser, and I could see all the files given that my permissions were right. Now no matter what my permissions, I get the error page...
"Forbidden You don't have permission to access this resource."
... when I try to access the folder, and it would be nice to be able to monitor the folders' contents from my browser again.

Anyway, if there are any additional details you'd like from me please don't hesitate to ask. I would greatly appreciate any help or hints I could get about any of this. Thank you.
 

Anna

I am just me
Staff member
Messages
11,772
Reaction score
591
Points
113
To view the folder content in the browser as a list of files, you would need to create (or edit) a .htaccess file, and add the following line, without quotes: "Options +Indexes"

Directorly listing is turned off by default as it is more secure if the world doesn't know what files you have on there (it was on by default in older cPanel versions and was kept on in upgrades even if newer versions does turn it off as a default with them now as well)

777 is a bad permission, that basically gives the whole world write access on your folder, which is a security problem. 755 would be the norm for folders.

What are you using as host in the app? You are now on a different server so if you use anything but your default domain you may need to change that to reflect changes. What are error are you getting, if any? What is the app?
 
Status
Not open for further replies.
Top