Python and FTP@anonymous

Status
Not open for further replies.

milky

New Member
Messages
3
Reaction score
0
Points
0
Hi guys,

I do have two questions if you permit :cool:

1- When I've been reading the free hosting offer I've seen something about python, but seems there's no python support only php. Has it to be activated or something ? or am I totally off topic ?

2- How to enable anonymous connections ? I tried by adding an anonymous ftp account without password but it says no way to create an account without password.

Thank you very much :)
(btw: cron jobs available ? That's so wonderful ! great service !)

Cheers
Mils.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1.
test.py :

Code:
#!/usr/bin/env python

print("Content-type: text/html")
print("")

print("<html>")
print("<body>")

print( "Hi there")

print("</body>")
print("</html>")

Set permissions to 0755

Add to .htaccess file:

AddHandler cgi-script .py

3. cron jobs can be set from cPanel. If you have two cronjobs that go of within 5 minutes of each other, you will get suspended. Some servers seem to have trouble running cron jobs. I believe they are still configuring some of the servers after the move of Data Centers.
 

milky

New Member
Messages
3
Reaction score
0
Points
0
Hi back,

well thank you very much the quick response :)
Great I'm gonna retry python though, thus:

3. cron jobs can be set from cPanel. If you have two cronjobs that go of within 5 minutes of each other, you will get suspended. Some servers seem to have trouble running cron jobs. I believe they are still configuring some of the servers after the move of Data Centers.

I don't use cron actually, I was just saying that this is so great ! Because it's the first time I see a free hosting service that provides cron jobs :), but still, thanks for the highlights :)

One question left: the FTP anonymous access thing :)

Cheers,
Mils.
 

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
I don't think public FTP access is allowed on free hosting, especially considering each server has a 50 user FTP limit.
 
Status
Not open for further replies.
Top