Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
trinitite is on a distinguished road
 
Posts: 8
Join Date: Feb 2012
Smile FTP down allowed? How? - 02-27-2012, 12:40 AM

I would like to allow others (one site & user) access to a small .txt file I would upload on a regular basis. I would prefer -need- to do this via ftp, anonymous or password access. (Probably easier if they can do anon, but I can give them account/pw info.) So far, I can't figure out how to do this. Is it even allowed?

The file uploads fine, and I can pull it down via FileZilla. Too, I can see it if I put it in a subdir, or, if I make a link to it. HOWEVER, any time I try and download - as a "user", so via a browser, not my ftp client - I get a zero byte file. (I've tried subdomains, etc., as noted in a few forum posts. No luck, yet.)

This is a fairly important "test" item I would like to have working before I consider "going live" (and, probably upgrading/buying domain, etc.). Am I just clueless, or, is there some way to get this working without violating TOS in the free webhosting area? (I hope so! People who've viewed the test version of my site are curious about how they can try stuff like this for free, so it might mean more sites in future for me and 000webhost.com! )

Update: saw Open file in protected folder. which seems to be the idea, though I don't really need the password bit. (I am doing a .txt, not a .jar, but that's in the post. Pickup of file would be automated. Has to be .txt extension, and I have to be able to give them something to point at that allows the file download with minimum fuss. Embedded HTTP would clog the data we are trying to transmit - they can't/won't parse - so the "file" has to download cleanly as a .txt . Hence, the ftp, etc.) My problem with this is I am php-impaired, so I don't know where/how to try that code. (Cut & paste, probably. Need SQL database & other config? Anything I can slap on a page without all that? Dunno. Perhaps too complicated.)

I note that other filetypes seem to download okay, but not .txt. I take it this is something to do with .html and the index page. I'm not trying to reinvent the wheel, and I'm certainly not trying to do anything beyond TOS that I can see - the .txt file is text data to be displayed on another site, in hopes of eventually generating links/revenue, etc.. If I can't test it, I basically can't set up the link, meaning this site won't work for me. That would be a drag!

Thanks for your consideration!

-trinitite

Last edited by trinitite; 02-27-2012 at 02:22 AM.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Bad Karma[CORE]'s Avatar
333 - only half evil
Bad Karma[CORE] is on a distinguished road
 
Posts: 6,476
Join Date: May 2008
Default 02-27-2012, 03:09 AM

.txt files are blocked here.
Reply With Quote
(#3 (permalink))
Old
Junior Member
trinitite is on a distinguished road
 
Posts: 8
Join Date: Feb 2012
Default 02-27-2012, 04:08 AM

Ah. So I will not be able to do this at all, then? Please forgive me if I am out of bounds somehow, but I am "ignorant" as to how this works (not "stupid"; I just have no prior experience. I truly do not mean to be impolite in any way!).

It looks as if others in this forum have worked on this or very similar, so now I am even more perplexed. (I am now aware .txt files are blocked, though I didn't know of or specifically see that in the TOS - I did see about download scripts, but I am not doing anything like that. Does that mean they'd be blocked if I signed up for paid hosting? If not blocked, would they work as I need? Could I test that?) The answer above doesn't really tell me anything about what I need to know to decide about launching a paid account, etc.

My .txt files seem not to violate TOS in word or spirit, yet they are blocked. Are other file types blocked, and, if so, is there a listing of which ones? I would greatly appreciate more clarification, as it seems I've unknowingly stepped on some kind of landmine here...

Last edited by trinitite; 02-27-2012 at 05:02 AM. Reason: still unclear
Reply With Quote
(#4 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 4,073
Join Date: Jul 2011
Location: UK
Default 02-27-2012, 09:05 AM

*.txt files are allowed if you upgrade
Reply With Quote
(#5 (permalink))
Old
Shadowrider50's Avatar
Member
Shadowrider50 is on a distinguished road
 
Posts: 76
Join Date: Jan 2012
Default 02-27-2012, 10:06 PM

As an alternative, You can save it as a .html with plain text, just put <br /> at the end of each line
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com