Cant access my files

Status
Not open for further replies.

alexxz4

New Member
Messages
21
Reaction score
0
Points
0
Hi, im sorry for sounding noob but i cant access my public files remotely.
I have 'file.txt' in my public_ftp. I tried this links to access it, and none of them worked
http://alexxz4.x10hosting.com/home/alexxz4/public_ftp/file.txt
http://alexxz4.x10hosting.com/home/public_ftp/file.txt
http://alexxz4.x10hosting.com/alexxz4/public_ftp/file.txt
http://alexxz4.x10hosting.com/public_ftp/file.txt
http://alexxz4.x10hosting.com/file.txt
http://alexxz4.x10hosting.com/home/public_ftp/file.txt
...
It said 404 not found.
You can access files remotely with x10hosting, can you? (just asking to make sure).

My username is alexxz4
My cPanel thing is http://alexxz4.x10hosting.com:2082
:happysad:
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Files uploaded to public_ftp would be shown when accessing: ftp://alexxz4.x10hosting.com/
The thing is that "public_ftp" is not enabled for free accounts. We don't allow anonymous FTP.
I'm sorry, but we can't make exceptions.

If you really need this, you should consider getting a paid account.
 

alexxz4

New Member
Messages
21
Reaction score
0
Points
0
Oh, that sucks.
I guess im gonna have to go back to link removed, which allows remote file access with free accounts.

Ok, but i can access a mySQL database remotely, can i?
I made a database named "alexxz4_database1" on x10hosting.
If i have a php script stored on webng, what do i put instead of "database" to gain access to it?

@mysql_connect("database","myusername","mypassword")

Im just starting with PHP/mySQL so may not be clear on many DB issues.
 
Last edited by a moderator:

alexxz4

New Member
Messages
21
Reaction score
0
Points
0
So you CAN access a php script remotely? (otherwise, how would you communicate with the DB...)
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
You can't access MySQL databases hosted at x10hosting from another server. We used to allow users to do this, but we had to stop it because of abuse and for security reasons.
 

alexxz4

New Member
Messages
21
Reaction score
0
Points
0
Ok, but suppose i make an application that accesses a php script which writes or reads from the database. If the script and the DB are on x10hosting is it possible to access that php script remotely? (I really dont wanna get a paid account).
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
If the script is on your x10hosting account, you will be able to access the database with no problems.
 

alexxz4

New Member
Messages
21
Reaction score
0
Points
0
OK,
where would i need to place that script and how do i link to it (if i can)?
I mostly gonna use java for access, so my code is gonna say something like
Code:
URL url = new URL("http://.../script.php?action=list&access_code=23781");
What do i put instead of the dots?

Im sorry for being so annoying, but i gotta get this strait before i can start with PHP/mySQL business...

Thanx
 
Status
Not open for further replies.
Top