[hosting] What To Delete And What To Keep ?

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

[hosting] What To Delete And What To Keep ?

dhanesh
This was asked many times and again i am asking the same .. but with a little difference .. could someone please explain how the creation of folders and file work in the hosted root (not www or public_HTML but before that in " \ ") suppose i open Fantastico and close decide not to install anything .. a folder called .fantastico or sumthing comes up in " \ " why ? or rather is there any importance of this file if i dont install anything from fantastico or incase i do install an add-on .. would deleting the folder .fantastico cause any harm to that addon ?

I have the following file structure in " \"

QUOTE
.cpanel-datastore
.fantasticodata
.htpasswds
.trash
etc
mail
public_ftp
public_html
tmp
.contactemail
.contactsavetime
.lastlogin
www


Do the " . " dot in a file name suggest that it is important ? or are they just temp files ? what all can i delete from here that wont be any use to me (as in the default way when we first get our hosting).

Could you also please explain the necessary thing i'd need to know while deleting a folder etc .. just for my knowledge .. kinda inquisitive .. smile.gif

Regards
Dhanesh .

 

 

 


Reply

yordan
www is the place where you have to put your site files.
www/index.html is the main page of your site, and all the folders in your programs are starting from there.
So, you put everythingyou want in www. you delete what you want to (maybe taking a backup), everything in www concerns the way your programs work.
the other files you have to avoid modifying. they are for astahost usage, saying your name, where your mails are, etc.
the ".something" files are somehow "invisible" files, "." saying "don't show to normal users" in Unix/Linux conventions.
All the files in www are your responsability, if you delete something you are able to repair.
All the other files are out of your responsabilityl, if you delete them things will stop working, and you will have to request for repair.
Hope this helped.
Yordan

Reply

PureHeart
QUOTE(dhanesh @ Jan 8 2006, 03:48 AM)
Do the " . " dot in a file name suggest that it is important ? or are they just temp files ? what all can i delete from here that wont be any use to me (as in the default way when we first get our hosting).
*



Well, a dot at the beginning of filename means a hidden files. In most case, you ftp client won't display that file to you. Why is the file hidden? Because it contain important information like configuration, data. If you delete those file, you'll meet lots of trouble. DON'T delete them. Let the server handle them.


PS:A dot at the beginning is vaild in *NIX only, you can't create such a file in Windows

Reply

plot
you should keep them all

some definitions may be wrong....feel free to correct me if you find an error
.cpanel-datastore - Is where Cpanel stores all there information regarding your site
.fantasticodata - Is where Fantastico stores all there information regarding your site
.htpasswds - Prevents un-authorized users from view the directory
.trash - The trash
etc - Anything extra
mail - logs and things regarding your mailboxs
public_ftp - The directory users will see if they login to your sites ftp anonymously
public_html - What users see when they visit your URL
tmp - Temporary files
.contactemail - Logs
.contactsavetime - Logs
.lastlogin - Logs
www - Same as public_html

Reply

dhanesh
QUOTE(plot @ Jan 8 2006, 07:57 AM)
you should keep them all

some definitions may be wrong....feel free to correct me if you find an error
.cpanel-datastore - Is where Cpanel stores all there information regarding your site
.fantasticodata - Is where Fantastico stores all there information regarding your site
.htpasswds - Prevents un-authorized users from view the directory
.trash - The trash
etc - Anything extra
mail - logs and things regarding your mailboxs
public_ftp - The directory users will see if they login to your sites ftp anonymously
public_html - What users see when they visit your URL
tmp - Temporary files
.contactemail - Logs
.contactsavetime - Logs
.lastlogin - Logs
www - Same as public_html
*


So point blank is that anything having a " . " before the file name is a important file and SHOULD NOT be deleted ? ... But then again .. i have .Fantasticodata .. I know i havent installed fantastico ever .. only that i just clicked the link and browsed through it a bit and there it created a ".fantasticodata" file .. i could delete that could i ?

.trash would contain all the files that i delete ? or rather its like recycle bin in windows that delets everything but if ever needed .. we could ask support to recover it ? ..

etc is extras .. now iwouldent need this folder .. so its safe to delete it right ?

I donot or havent configured any mail ... just been there and tried out the features .. this might have again created files regarding to mail .. so i could delete .. mail, .contactemail, .contactsavetime ?

Last the "tmp" folder .. you said this was the temporary folder .. so i assume this could be deleted too ?

LOL .. sorry to bug ya guys .. its just plain annoying i know .. but i just wanted to know more about this whole structure and what it does etc ..

Regards
Dhanesh.

 

 

 


Reply

miCRoSCoPiC^eaRthLinG
Ok this needs some clarification. You can safely delete all other files and folders EXCEPT the following:

Files beginning with a "."
  • .cpanel-datastore - cPanel stores the config info for various functions you perform through it
  • .htpasswds - Prevents un-authorized users from view the directory
  • .trash - The trash - you deleted files through cPanel File Manager land up here
  • .contactemail - Addressbook data (most likely)
  • .contactsavetime - Logs
  • .lastlogin - Logs for last login info
Folders
  • etc - Anything extra - this dir is pretty much needed for various config data and scripts
  • mail - Logs your mail actions as well as you actual mails are stored in here
  • public_ftp - The directory users will see if they login to your sites ftp anonymously
  • public_html - What users see when they visit your URL
  • tmp - Used for storage of temporary files generated during the operation of various scripts - similar to the Windows TEMP directory.
  • www - This is actually NOT a folder but a symbolic link which points to your public_html folder. So any file operation you perform on this happens on your public_html
You shouldn't delete the above files/folders at any cost. As for .fantasticodata - it stores information about scripts that you install through Fantastico. If you don't use fantastico at all, this file is unnecessary and can be deleted without any harm.

You'll find a bunch of files+folders with the _vi prefix or extension - those are for Frontpage extensions - which none of us use (hopefully). So even those can be deleted without any hitch. If you got questions about any other folders, do post back - but the ones above in the list are quite necessary.

Reply

yordan
Thanks a lot, miCRoSCoPiC^eaRthLinG, these definitions are useful for all of us.

Reply

dhanesh
Thankx m^e, appriciate your explaining so much, I realise how some of us like myself can get a lil annoying .. but thanks for clearing out the doubts smile.gif

Regards
Dhanesh.

Reply


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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. cpanel datastore - 22.26 hr back. (1)
  2. what to delete - 102.66 hr back. (1)
  3. which fantastico folders can i remove - 119.95 hr back. (1)
  4. fantasticodata - 70.76 hr back. (5)
  5. .fantasticodata - 16.70 hr back. (2)
  6. any harm deleting index data files - 183.56 hr back. (1)
  7. repair cpanel lost files - 201.21 hr back. (1)
  8. cpanel-datastore - 237.59 hr back. (1)
  9. .cpanel/datastore - 252.20 hr back. (1)
  10. deleted public_html - 262.53 hr back. (1)
  11. deleted public_html cpanel - 270.16 hr back. (1)
  12. what happens when you delete the public_html - 384.47 hr back. (1)
Similar Topics

Keywords : hosting, delete

  1. How To Delete FTP Accounts?
    Any specific ways? I don't see one... (1)
  2. 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'
    border='0' style='vertical-align:middle' alt='sad.gif' /> ( i know i'm dum !! it was the
    first time that i used SMART ftp /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'
    /> but now ... where can i get the files from ??....

    1. Looking for hosting, delete

Searching Video's for hosting, delete
advertisement




[hosting] What To Delete And What To Keep ?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE