Calgarypuck Forums - The Unofficial Calgary Flames Fan Community
Old 04-10-2012, 12:20 AM   #1
DementedReality
Lifetime Suspension
 
Join Date: Aug 2004
Exp:
Default Easy Web site help

ok, i am having some work done on my new website but right now all it says is "under construction".

i have a static jpg that i would like to be on the site for the week or so until I get my website up.

i have cpanel access, can someone give me a quick on how to upload this file.

yes i know its brutal, but it beats a blank website for now.
DementedReality is offline   Reply With Quote
Old 04-10-2012, 08:27 AM   #2
Regular_John
First Line Centre
 
Regular_John's Avatar
 
Join Date: Feb 2010
Location: Calgary
Exp:
Default

You need FTP (File Transfer Protocol) access to the site/directory in question. Their may be an FTP utility built into Cpanel, try searching the help.

But essentially you'll need to insert the image into an html file, name the html file to index.html (most likely it's index.html, but it could be default.aspx, default.php depending on your server) and upload both the HTML file and the jpg image into the directory for your site via FTP.

Last edited by Regular_John; 04-10-2012 at 08:47 AM.
Regular_John is offline   Reply With Quote
Old 04-10-2012, 09:00 AM   #3
Rathji
Franchise Player
 
Rathji's Avatar
 
Join Date: Nov 2006
Location: Supporting Urban Sprawl
Exp:
Default

Upload the image as jaydorn says, and copy the path into this code (replace the url with it) and put it all into an index.html file. The the html file will need to go in the root of your site.

Code:
<html>
<body>

<img src="url"/>

</body>
</html>
__________________
"Wake up, Luigi! The only time plumbers sleep on the job is when we're working by the hour."
Rathji is offline   Reply With Quote
Old 04-10-2012, 09:56 AM   #4
cmyden
Powerplay Quarterback
 
cmyden's Avatar
 
Join Date: Nov 2007
Exp:
Default

It's so old, but I still love WS_FTP LE as an FTP client. It's simple and uncomplicated, yet can do everything I need. I've tried newer FTP clients and just find they make things more difficult than they need to be.

http://www.oldversion.com/WS-FTP-Limited-Edition.html

First you'll need to create an FTP account through your Cpanel, if you haven't already.

Once you have that, open up WS_FTP, and hit connect.

Host Name/Address: www.whatever.com

userid: Demented@whatever.com (or whatever you chose as your FTP account user id in Cpanel)

password: whatever

Put a checkmark beside 'Save Pwd' (to save your password)

Hit Apply, and then OK. You should now be connected to your server via FTP.

And now you're basically just looking to upload two files to your server.

File 1 - index.html

What gets displayed when you go to www.whatever.com

Use the code Rathji posted. Replace URL with the name of your picture (whatever.jpg) if it's in the same directory as index.html

File 2 - whatever.jpg

Your pic.

Upload both of those files via FTP, and you should be good to go.

To upload files, just browse to your local computer's directory on the left hand side of WS_FTP. Double click on a file to upload it.
__________________
Sign up for YYC Deals alerts if you want to be the first to know when I post a deal!

Flight deals from other cities: Vancouver - Edmonton - Saskatoon - Regina - Winnipeg - Toronto - Montreal - Ottawa - Halifax
cmyden is online now   Reply With Quote
Old 04-10-2012, 10:17 AM   #5
MickMcGeough
First Line Centre
 
MickMcGeough's Avatar
 
Join Date: Oct 2002
Location: Calgary
Exp:
Default

Quote:
Originally Posted by DementedReality View Post
ok, i am having some work done on my new website but right now all it says is "under construction".

i have a static jpg that i would like to be on the site for the week or so until I get my website up.

i have cpanel access, can someone give me a quick on how to upload this file.

yes i know its brutal, but it beats a blank website for now.
You should not need to set up FTP accounts or install a standalone FTP client, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.

- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them

Be aware that many hosts put a default "index.html" that you'll have to overwrite.
__________________


Last edited by MickMcGeough; 04-10-2012 at 10:54 AM.
MickMcGeough is offline   Reply With Quote
Old 04-10-2012, 10:48 AM   #6
Regular_John
First Line Centre
 
Regular_John's Avatar
 
Join Date: Feb 2010
Location: Calgary
Exp:
Default

Quote:
Originally Posted by MickMcGeough View Post
You do not need FTP access, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.

- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them

Be aware that many hosts put a default "index.html" that you'll have to overwrite.
You do realize the cpanel "file manager" is just a web based FTP program right?

Yup, I was wrong....

Last edited by Regular_John; 04-10-2012 at 12:28 PM. Reason: I was wrong.
Regular_John is offline   Reply With Quote
Old 04-10-2012, 11:12 AM   #7
MickMcGeough
First Line Centre
 
MickMcGeough's Avatar
 
Join Date: Oct 2002
Location: Calgary
Exp:
Default

Quote:
Originally Posted by jaydorn View Post
You do realize the cpanel "file manager" is just a web based FTP program right?
EDIT: No, the cpanel File Manager is in no way an FTP program (except perhaps in the spiritual sense).
__________________


Last edited by MickMcGeough; 04-10-2012 at 11:27 AM.
MickMcGeough is offline   Reply With Quote
Old 04-10-2012, 11:51 AM   #8
Regular_John
First Line Centre
 
Regular_John's Avatar
 
Join Date: Feb 2010
Location: Calgary
Exp:
Default

Quote:
Originally Posted by MickMcGeough View Post
EDIT: No, the cpanel File Manager is in no way an FTP program (except perhaps in the spiritual sense).
I would beg to differ. It may be a dumbed down version, but I'd still argue it's using the File Transfer Protocol (FTP) to move files from one computer to another via FTP as uppose to HTTP or any other protocol.

But we're splitting hairs here, I just think it's misleading to say FTP is not needed, a stand alone FTP Client may by be needed, but the underlying connection is still there.



Last edited by Regular_John; 04-10-2012 at 12:29 PM.
Regular_John is offline   Reply With Quote
The Following 2 Users Say Thank You to Regular_John For This Useful Post:
Old 04-10-2012, 12:10 PM   #9
Rathji
Franchise Player
 
Rathji's Avatar
 
Join Date: Nov 2006
Location: Supporting Urban Sprawl
Exp:
Default

Quote:
Originally Posted by jaydorn View Post
I would beg to differ. It may be a dumbed down version, but I'd still argue it's using the File Transfer Protocol (FTP) to move files from one computer to another via FTP as uppose to HTTP or any other protocol.

But we're splitting hairs here, I just think it's misleading to say FTP is not needed, a stand alone FTP Client may by be needed, but the underlying connection is still there.
I am pretty sure the cpanel file manager is not FTP based.

edit: testing with Wireshark now

Confirmed. At no point does using the File Manager in cpanel use the FTP protocol, and when using Filezilla it clearly does.
__________________
"Wake up, Luigi! The only time plumbers sleep on the job is when we're working by the hour."

Last edited by Rathji; 04-10-2012 at 12:21 PM.
Rathji is offline   Reply With Quote
The Following User Says Thank You to Rathji For This Useful Post:
Old 04-10-2012, 12:27 PM   #10
Regular_John
First Line Centre
 
Regular_John's Avatar
 
Join Date: Feb 2010
Location: Calgary
Exp:
Default

Quote:
Originally Posted by Rathji View Post
I am pretty sure the cpanel file manager is not FTP based.

edit: testing with Wireshark now

Confirmed. At no point does using the File Manager in cpanel use the FTP protocol, and when using Filezilla it clearly does.
Fair enough, I had previously used php's FTP functions on a project to move files around so I assumed most web based "file manager" type programs would have used something similar.


DementedReality - I hope you got your answer to your simple problem regardless of our techie debate in this thread.

MickMcGeough - I stand corrected by Rathji and his fact based rebuttal. Carry on.

Last edited by Regular_John; 04-10-2012 at 12:30 PM.
Regular_John is offline   Reply With Quote
Old 04-11-2012, 05:59 PM   #11
DementedReality
Lifetime Suspension
 
Join Date: Aug 2004
Exp:
Default

guys, thanks for everyone's input ... i feel dumb, cant follow along. off to do some excersize and then i will come back and try and figure it out.

also, i have one of my employees who knows how to do this but i dont want to give him cpanel access because he can backdoor to everyone's email, including mine. any suggestion?
DementedReality is offline   Reply With Quote
Old 04-11-2012, 06:04 PM   #12
DementedReality
Lifetime Suspension
 
Join Date: Aug 2004
Exp:
Default

Quote:
Originally Posted by Rathji View Post
Upload the image as jaydorn says, and copy the path into this code (replace the url with it) and put it all into an index.html file. The the html file will need to go in the root of your site.

Code:
<html>
<body>
 
<img src="url"/>
 
</body>
</html>
confused!

Quote:
Originally Posted by MickMcGeough View Post
You should not need to set up FTP accounts or install a standalone FTP client, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.

- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them

Be aware that many hosts put a default "index.html" that you'll have to overwrite.
my file is a jpg .. how do i change it an html file, i tried "save as" and there is no option.

im sorry, this must be like basis 101 stuff and i am out of my element, but i dont like the "under construction".
DementedReality is offline   Reply With Quote
Old 04-11-2012, 06:38 PM   #13
Regular_John
First Line Centre
 
Regular_John's Avatar
 
Join Date: Feb 2010
Location: Calgary
Exp:
Default

Quote:
Originally Posted by DementedReality View Post
confused!



my file is a jpg .. how do i change it an html file, i tried "save as" and there is no option.

im sorry, this must be like basis 101 stuff and i am out of my element, but i dont like the "under construction".
You can't, you can insert a JPG into an HTML file, but you can't change an jpg into an HTML format.

You will need two files
- index.html
- whatever.jpg

It can not be done with just the jpg.

Last edited by Regular_John; 04-11-2012 at 06:54 PM.
Regular_John is offline   Reply With Quote
Old 04-11-2012, 07:39 PM   #14
MickMcGeough
First Line Centre
 
MickMcGeough's Avatar
 
Join Date: Oct 2002
Location: Calgary
Exp:
Default

Quote:
Originally Posted by DementedReality View Post
confused!

my file is a jpg .. how do i change it an html file, i tried "save as" and there is no option.

im sorry, this must be like basis 101 stuff and i am out of my element, but i dont like the "under construction".
Rathji's code goes into a new file you have to create, called "index.html".
Replace "url" with the name of your image (but keep the quotes).

Then follow my previous instructions for uploading the files.
__________________

MickMcGeough is offline   Reply With Quote
Old 04-13-2012, 12:02 PM   #15
cmyden
Powerplay Quarterback
 
cmyden's Avatar
 
Join Date: Nov 2007
Exp:
Default

If you want, you can PM me your FTP account info. I can do it for you in 2 seconds. And then change your FTP password.
__________________
Sign up for YYC Deals alerts if you want to be the first to know when I post a deal!

Flight deals from other cities: Vancouver - Edmonton - Saskatoon - Regina - Winnipeg - Toronto - Montreal - Ottawa - Halifax
cmyden is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Forum Jump


All times are GMT -6. The time now is 09:14 AM.

Calgary Flames
2023-24




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021