Shay Posted March 4, 2004 Posted March 4, 2004 hi all, i am new here, so in the next couple of weeks my questions might be du** i am trying to create a authenticated FTP, using username and password. how can i make my root ftp secured ? (i.e ftp://myweb.com) thanks Shay Quote
HCSuperStores Posted March 4, 2004 Posted March 4, 2004 Welcome to the neighborhood! I would help with your questions, but I'm not exactly sure what you are asking. Are you looking for secure, 128 bit FTP connection or just the ability to assign an ID and pass to FTP to your root directory? Glad you here! Enjoy the view! Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 just ID and password, basically avoind anonymous users to access my ftp. only assigned usename and password will have access thanks Shay Quote
HCSuperStores Posted March 4, 2004 Posted March 4, 2004 That functionality is build right into your Cpanel account. Goto your "FTP Management" and you can give and take away access as needed. Simple and sweet! Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 well i chose the "FTP Accounts" from my "FTP Management" all i see is this: "When logging into the ftp server please use the username exactly as it appears below. If the username includes a "@", make sure to include it when logging in. Example: Use "john@doe.org" and not "john"." and then a list of 4 Main Accounts, but i do not have any username or password, and i can not change them. i have the option of "Add FTP Account" but that creates a new directory for me. Quote
ThumpAZ Posted March 4, 2004 Posted March 4, 2004 (edited) When you use the "Add an account", it will automatically try to fill in the same name you just created behind the URL. This is what creates the folder you are seeing. You need to only have a / mark in the box behind the url below where you enter a name and password. In other words... Add an FTP Account Enter Username Enter Password delete the name it filled in and leave only a / in the box. Create the account and test it out. -GG EDIT: Almost forgot... Welcome to the Family!!! Edited March 4, 2004 by TCH-Glenn Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 i did create a new username and pasword, kept only '/' instead of the automatic name. when i got to ftp://mysite.com i get a folder "Incoming" (no username or password yet), open "incomming" and try to copy something into that folder, i am getting the following error: "An error occured copying a file to FTP server, make sure you have permission to put files on the server details: 200 Type ... 200 Port... 553 Anonymous user may not overwrite existing files" seems like it thinks i am anonymous user Quote
ThumpAZ Posted March 4, 2004 Posted March 4, 2004 (edited) IF you are trying to log in through a web browser, it can get iffy sometimes... I, personally have never been able to log on to FTP on the TCH servers through a web browser. Try using an actual FTP client such as WSFTP_LE or SmartFTP or one of the others out there. There is a link somewhere around here that will get you to the free downloads for those. Ahhh... Here it is: http://www.totalchoicehosting.com/help/ftppage.htm -Glenn Edited March 4, 2004 by TCH-Glenn Quote
TCH-Rob Posted March 4, 2004 Posted March 4, 2004 I am moving this to Backend Services, Closed duplicate post in cPanel forum. Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 it doesn't work with smart ftp as well, i can connect using anonymous (which i do not want), but i am unable to see the files in there Quote
ThumpAZ Posted March 4, 2004 Posted March 4, 2004 (edited) Going out on a limb here... Please be patient if I reiterate anything OK, first you need to create the account you want and leave only the whack (/) mark in the URL. Open Smart FTP and enter your domain name as "www.domain.com/" (without quote marks) enter username as you@domain.com enter password ExAcTLY as you typed it (case sensitive) enter the port as 21 Make sure that the Annonymous box is unchecked Try that. To kill off the Annonymous user, you need to go into to cPanel and click on Annonymous Setup Uncheck the two boxes there That will disable the annon account Edited March 4, 2004 by TCH-Glenn Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 thanks glenn, well that spartialy works :-), i am able to connect, but i see the entire hirarchy, i do not want users to have access to all my files, only to one directory, basically the ftp directory. how do i do that ? Quote
ThumpAZ Posted March 4, 2004 Posted March 4, 2004 (edited) I don't know that there is a way to do this on the root (block viewability of files to certain users). You need to create an FTP section on your site (just a few folders for whatever you want to do) and then just assign all users to that area. You can then move things around using a master account that has root access. Create users and add /ftp to the url in the add FTP account screen Users go to ftp.domain.com/ create a folder structure there that looks like /incoming, /downloads, /etc Users will only see those three folders when you log on, though, you will see the whole structure and can move things around as you wish... from FTP area to main site area. This is also more secure for you as folks will not be able to "accidentally" get into something they shouldn't Edited March 4, 2004 by TCH-Glenn Quote
Shay Posted March 4, 2004 Author Posted March 4, 2004 i see where the problem is, when i go to create new ftp accounts, the default dir path is: "home/tbitayyt/public_html" instead of "home/tbitayyt/public_ftp" why is that ? shay Quote
ThumpAZ Posted March 4, 2004 Posted March 4, 2004 (edited) Public_html is the "catch all" for your site. It is where ALL the items which are viewable to the world go. You need to place the FTP section under this area. You need to create users that fall into the "home/tbitayyt/public_html/ftp" folder. This will allow you to have a public FTP server, but still have it locked down to annon or unauthorized access (if you follow the steps above for disabling annonymous users FTP access). Just to expound a little: The way your site is setup, there is not an actual FTP "server" component of it. There is FTP access. This is for you to use when adding content to your site. To make it appear more FTP server-like, you have to create a folder structure under the public_html section and point all FTP users to that area. This allows you to have a separate section of your webspace to host FTP traffic. You still retain the master account access to the root for website building and such, but noe you have added the FTP area and can use that with customers or friends. Edited March 5, 2004 by TCH-Glenn Quote
Shay Posted March 5, 2004 Author Posted March 5, 2004 so what the public_ftp directory serves ? wierd thing, it does create the directory for me when i create a new ftp account, but when i access it using smart ftp, i get error "can't switch to that directory cause it doesn't exists" Quote
ThumpAZ Posted March 5, 2004 Posted March 5, 2004 (edited) I believe that it is where the annonymous account would have access to... to keep what goes on there away from the main public site. Let me verify that. I cannot access it either, but I do see the custom welcome message I put in there. Credit goes to TCH-Bruce for telling me this: Apparently the public_ftp folder is a remnant of days of old when TCH allowed annonymous FTP access. This has since been abandoned, but the folder still exists in the account setup. Basically, forget that the folder exists. You can only believe half of what you see and nothing of what you hear anyway. Go ahead and follow the tips above for creating an FTP section and you will be good to go. -Glenn Edited March 5, 2004 by TCH-Glenn Quote
Shay Posted March 5, 2004 Author Posted March 5, 2004 thanks glen, i am sorry if i am being a pain in the a$$. i followed the steps, it does create the directory under public_html, i am able to login, but i can not switch to that directory. Quote
ThumpAZ Posted March 5, 2004 Posted March 5, 2004 (edited) Not a problem, Shay, that is why we are here! Since you now have the correct setup, you need to point like this: In Smart FTP you enter JUST www.domain.com (nothing else), then name@domain.com as username and then password. It will open up to where you expect it to, but will seem invisible to your users.<~~~ this means that you will already be logged in to the FTP directory you created even though it looks like it is the root of the domain. Try moving a file, then go into File Manager in cPanel and see what I am talking about. Edited March 5, 2004 by TCH-Glenn Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.