Help - Search - Members - Calendar
Full Version: FTP filezilla? Saving textfiles to HTML?!
Forums > Resource Center > Webmasters' Corner
dearfelicia
secondhandsex.tasteoflust.org

thats my subdomain thingy.
I'm really having some problems with coding and using FTP.
I'm not new to html and css but this is just way different than anything i've done, and I dont want to seem like a burden or a "noob" to my host and ask her so many questions.
so i write out all my html coding to my site,
than save it as what? .html? .css?
because when i upload it on my filezila ftp program
it just ends up being a link like that -->
click to enlarge

how do i get it to ACTUALLY show up to my layout and content?!!
ForgiveTheSinner
Maybe it's still saved as a text file? I'm not sure...check your ftp thing and see if the page is still text file.
dearfelicia
i use wordpad, so how do i save it to make not a text file?
haha
venti-anemoi
You should save it as .html, or if you're using PHP then .php.

Hmm.... is wordpad like notepad? If so, when you go to save as you can specify the file type. Just type in your file name and add .html at the end.

//edit.

Oh, by the way, your style should be saved as style.css.

I think if you're using windows then you can just click on the file, change the extension to .css, and then when it asks you whether you want to change the file type say yes.
dearfelicia
it still won't work :/
i dont really know what im doing wrong,
their no longer text files!:/
venti-anemoi
But you don't want them to be text files. You want them to be HTML files so that the server can read them and convert it into images/text/whatever you coded for.

Did you edit the files saved on your computer, then re-upload them using FileZilla? I don't think it works if you just change the files you already uploaded.
dearfelicia
i just wrote our my codings and saved them .html and .css for the style and they uploaded in links and ended up weird like.

how do i edit the files before i upload them on filezilla? because i just change the and upload them and appearently thats wrong!
venti-anemoi
...........Wait, what?

Okay, try this: copy your entire code, then open a new wordpad document and paste it in. Then go file >> save as, type in the file name. There should be a dropdown menu under that where you can specify the file type; choose the one with .html and save it. Then try uploading the file using FileZilla.

Hope it works.
dearfelicia
i decided to make a newer topic for this question,
my last one sorta helped me out but i need to finally figure out FTP.
When i save my text files, i need to make html files?
right? so they can transfer to FTP and onto my domain!
So i save them as either .html or .php. and my style as .css
but see they end up being links and link to the page,
and its NOT what i want. i made a layout and everything and its not showing up!
what am i doing wrong?!
can anyone tell me instructions on what to do?!

highwayto4355
you save it as .php
dearfelicia
thank you sorry for confusing you too
highwayto4355
i merged your topics, they asked the same thing. :]
venti-anemoi
Ahh, so the CSS isn't working?

Can I see your code? your .php file.

So when you go to your web address, it shows "Index Of/ Index.php" and you have to click on "Index.php" in order to get to your main page?
mipadi
Save it as index.php (or index.html if it's just an HTML file).

Your server is probably case-sensitive.
dearfelicia
yeah i have to click index.php to get to my stuff,
and im wondering why it doesn't view on one page instead of a link,
not to mention the style.css isn't working,
everything is still plain looking
mipadi
QUOTE(dearfelicia @ Jul 14 2008, 07:34 PM) *
yeah i have to click index.php to get to my stuff,

No. It looks like you're clicking Index.php, not index.php. Case probably matters.
venti-anemoi
Did you add

CODE
<link rel="stylesheet" type="text/css" href="style.css">


in between your <head> and </head> tags?
Aberisk
maybe its just the doctype? have you tried cross browser testing to see if its just one browser?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.