pkuk

Well-Known Member
Nov 16, 2002
65
0
156
Hi

I have a new box with nothing on yet, how do I FTP to /root/cpanel3-skel to upload new files & is it possible to ftp at root level to access the entire server???
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
FTP to root is not always a good option. There is a solution, though. I've found that SecureFX is a secure FTP program. You can find it at www.vandyke.com. I would NOT recommend using a regular FTP program with root (if its even possible).
 

sac-host

Member
Jan 5, 2003
5
0
151
can anyone post some step by step directions on how to do the SSH transfer... sorry... i'm a newby :)

Jay
 

cikul

Well-Known Member
Nov 15, 2002
49
0
156
1. Create new user (ex : user) for your temporary upload

2. Upload your via FTP to any folder in your /home/user

3. Login with SSH with your user account

4. login to root with SU

5. move to your root skeleton directory
[quote:2189555222]
mv /home/user/file.html /root/cpanel3-skel/
[/quote:2189555222]
6. Finish...

Hope this Help ;)
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Ok, now here's the tought part. ;)

How does one code an HTML Skeleton page so that it will display:

Future Home Of

&domain name of new account&

It's the Cpanel specific coding to automatically pull in the Domain name for each new account, is where I get lost.

Anyone know?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
The way we did was modifying wwwacct to create a new file with the domain information and put it in the newly created home directory, then using an index.php we use the following.

}

$FILEPATH = &FILENAME&;
$FILE = fopen($FILEPATH, &r&);
$a = fgets($FILE, 300);
$b = fgets($FILE, 300);
$c = fgets($FILE, 300);
fclose($FILE);

Where $a=domain $b=IP and $c=username