Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/astahost/public_html/rkrt/rkrt_tracker.php on line 186
Uploading the files via the Internet
Astahost.com   Mar 21, 2010
Open Discussion & Free Web Hosting > Astahost > Hosted Members Support > FTP

Uploading the files via the Internet

free web hosting
Open Discussion & Free Web Hosting > Astahost > Hosted Members Support > FTP

Uploading the files via the Internet

chronogamer28
Alright, I need some help on when I upload files via the Internet. Do I need to name my home page 'index.html'? Also, I can't seem to view pictures on my page. Is there a certain tag I need to insert in my scripting? Thanks.

Comment/Reply (w/o sign-up)

kc8yff
First of all, make sure you are uploading all files // folders to the "public_html" folder.

What's your web page? I'd like to view the source and see what's going on. As long as you are putting in the <img src="image.png"> there should be no problem.

Comment/Reply (w/o sign-up)

chronogamer28
OK, so I'm not supposed to put the files in the www folder? And if not, which folder do I put images and my scripting into in the 'public_html' folder? Here's my line for finding my image:

<"img src="under construction.png" alt="Under Construction">

The image name is under construction, and it is a PNG file. I don't know why it wouldn't work.

Comment/Reply (w/o sign-up)

deivid
First you've to remove quotes

CODE
<img src="under construction.png" alt="Under Construction">


and somes server doesn't take very well spaces in filename, just delete the space and the name of file too.

This image will be called from the root of www folder.

ROOTFOLDER
page.htm (inside this page is the code for call the image)
underconstruction.png (this has to be in same directory where page is it)

If you want to create a folder called images

ROOTFOLDER
page.htm
........IMAGEFOLDER
...............underconstruction.png


the code inside of page.htm for this

CODE
<img src="IMAGEFOLDER/underconstruction.png" alt="Under Construction">

 

 

 


Comment/Reply (w/o sign-up)

chronogamer28
Alright, I have a subfolder inside the www folder called 'ROOTFOLDER'. I've put my front page (labelled 'index.html') and my image (now labelled 'UnderConstruction.png') The image is still not showing up. Sorry I'm acting like such a n00b but I've never used a browser-based uploading client before.

Comment/Reply (w/o sign-up)

mastercomputers
QUOTE (chronogamer28 @ Sep 22 2004, 11:02 PM)
Alright, I have a subfolder inside the www folder called 'ROOTFOLDER'. I've put my front page (labelled 'index.html') and my image (now labelled 'UnderConstruction.png') The image is still not showing up. Sorry I'm acting like such a n00b but I've never used a browser-based uploading client before.
*


Your root directory for your html pages exist at public_html or www (it's just a shortcut to public_html)

inside public_html, if you have index.html (use .html for files, .htm was only for Operating Systems that only supported 8.3 filename extensions) I'm not sure how the httpd.conf files are configured but if .htm doesn't work try .html, you can also change this using .htaccess files.

You don't have to use web based clients for uploading, you can use ftp too, just make sure the directory you're in is public_html for pages you want to show on your site.

Do not have spaces in your filenames, as it's much easier this way, else if you're linking to a file you would do <img src="./image/This%20Image.png" alt="This Image">, this means that you have a image directory inside your public_html folder which holds your image named "This Image.png" space included.

I do believe files are case sensitive too, although it might not be the case. so ThisImage is different to thisIMAGE or THISimage or ThIsImAgE. I will have to check on that, but it's always a good idea to use lowercase for everything if possible.

If you're using the <base> tag, then <base href="http://yousite.com"> so when you're addressing files you would now do <img src="/image/ThisImage.png" alt="This Image">

You do use www or public_html for your files to go in, just make sure index.html is your homepage.


Cheers, MC

Comment/Reply (w/o sign-up)

kc8yff
Well, I am uploading everthing to the public_html folder and my site is working fine: http://www.bmw-central.tk

Comment/Reply (w/o sign-up)

chronogamer28
Alright, I've got a .tk domain, but how do I make it compatible with astahost?

Comment/Reply (w/o sign-up)

kelp
.tk is not DNS so your site won't be youname.tk/website.html, it'll redirect to yourname.astahost.com/website.html.

If you choose a DNS capable one, it'll be like yourname.uni.cc/website.html without redirecting. With .tk you don't really have to set it up. For .tk you just type in the website you want the page to redirect to.

Comment/Reply (w/o sign-up)

prodigy
As kelp said tk is a free url director, if you are looking for a DNS domain I got a free yearly trial .info domain from www.domaindiscount24.com, even though people say this offer doesn't apply anymore.
To configure this you must goto your domaindiscount24 panel and set the name servers as ns1.astahost.com and ns2.astahost.com, then you have to wait for normally 6-8 hours for the dns to configure and then goto your cpanel and goto parked domain and add your domain you configured (eg mysite.com)
And if succesfull your cpanel will inform you, then you will have a domain name and it will act just like your astahost subdomain.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : uploading, files, internet

  1. Having Trouble Deleting .pureftpd-upload...
    disconnects and some incomplete files cant be deleted (8)
  2. How Do I Chmod Files On Astahost ?
    (20)
    Hey, how do i CHMOD certain files, i need to CHMOD some files to 0777 but i dont know how :-\ i use
    ws_ftp as my ftp client i also have flash fxp....
  3. The Files
    (7)
    I had a question, the files on the ftp, can I just delete them? Or, what can I delete, and what must
    I not delete?....
  4. Network Places: Alternative To Ftp On Windows
    Drag and drop files easily to your accnt (10)
    Windows has a feature called "Network Places". This can be used for uploading stuff for your site
    eliminating the need for any ftp client. Here's how we do it. 1.Goto Network Places-> Add a new
    networkplace. 2. Click next-> Choose another network Location->Next. 3. Now type the following
    wothout quotes "ftp://ftp.yoursubdomain.astahost.com". Click next 4. Uncheck log on anonymously and
    type in ur cPanel username. 5. Type any name and click Next->Finish. 6. Now open the folder created
    -> Type in your password Congratulations!! You can now upload your files in an ins....
  5. Uploading Problems
    Unable to upload any files. (4)
    I first used Frontpage to upload my site....it never used to be uploaded completely..some folders
    were incompletely uploaded. I tried smartftp but i got the folowwing message: QUOTE Connection
    closed. Server timeout.     An established connection was aborted by the software in your host
    machine.     Connection closed. I dont know what to do next. Should i try another software??
    After every unsuccessful attempt i used my file mamager to delete the public_html folder and created
    another folder with the same name. Can anyone help me??....
  6. How To Setup Frontpage
    To upload your files. (6)
    I ur using frontpage to make your site(Like me) then you might prefer to use its inbuilt FTP client.
    Heres how you upload your site using FP. Once ur done with your site:- 1. Click on File->Publish
    Site. 2. In the window's upper right corner there is an option called "Remote WEbsite
    Properties". Click on it 3. In the new window select FTP option. 4. Set the address to
    ftp."yoursubdomainhere".astahost.com replacing the Quotes. 5. Set directory to "public_html" 6. Your
    username and password will be the same for the cPanel. 7. The left panel is your local files within ....
  7. How To Setup Smartftp
    So you can upload files (1)
    You can download and use any FTP client you like. I'm using SmartFTP so that is what my
    instructions are for. Anyone using another client and they would like to create instructions for
    that let me know and I'll pin it. /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> You can dowload a copy here, it's free for private use and no nag
    screen until you used it for 30 days /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> http://www.smartftp.com/ With the new FTP client installed you have
    to....
  8. Accidental Delete of files in FTP Account
    HELP (14)
    I have accidentaly deleted some of the original files found on my accound server /sad.gif"
    style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />( i know i'm dum !! it was
    the first time that i used SMART ftp /sad.gif" style="vertical-align:middle" emoid=":(" border="0"
    alt="sad.gif" /> but now ... where can i get the files from ??....
  9. Chmod Files
    help me (9)
    hi every one how i can chmod my files to 666 via ftp program or ssh access please help me best
    regards soleimanian....
  10. Uploading Files
    (13)
    Is using the File Manager in Cpanel better than using FTP software to upload and manage files? Is
    there any different? From my experience, using FTP is faster and easier. What's your take on
    this?....

    1. Looking for uploading, files, internet



See Also,

*SIMILAR VIDEOS*
Searching Video's for uploading, files, internet
advertisement




Uploading the files via the Internet

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License