View Single Post
  #1  
Old 28th September 2005, 00:53
koegies koegies is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default FTP 101 the basics

I have installed IISConfig 2.0.9 on Ubuntu 5 (debian)

I used the Perfect setup howto , and installed Webmail(UebiMiau)+phpmyadmin.

I tried setting up a demo website site with sucess , created e-mail users with success.
Proftp is running

But FTP is still a mystery :
If i create a new site www.foo.com ,
enable ftp access
and created email user johndoe@foo.com ( user web1_johndoe)
enabled administrator for the user
Q1 : What is the FTP username and pass which i need to give to my customer to ftp to www.foo.com ?
If i use the web1_johndoe then i get the listing for the user's web and maildir, but not the actual website's root.

I created another site , which has the same domain as the machine hostname ( our host company name) .
When I setup the same structure :
create site >>> enable ftp access >>> create mail user >>enable administrator.
and logged in(ftp client) with this user ( web2_webmaster ) , i got:
----cgibin, log, maildir, phptmp, ssl, user, web ---- folders .

Q2: Will my users always see extra folders when they need to ftp their websites to our machine ? EG. maildir & web

I am relativly new to linux , so parden me if this is misunderstood by me.
unfotunately the forum does not allow a search on keyword "ftp" , but i tried to understand the postings i could find related to ftp wihout avail.

cheers
thanks for a great howto install doc.
Anybody using Debain should read :
http://www.falkotimme.com/howtos/per...arge/index.php

sample as per Q1
Code:
C:\>ftp www.dxxxl.co.za
Connected to www.dxxxl.co.za.
220 FTP Server ready.
User (www.dxxxl.co.za:(none)): web1_danie
331 Password required for web1_danie.
Password:
230 User web1_danie logged in.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
web
Maildir
226 Transfer complete.
ftp: 14 bytes received in 0.02Seconds 0.88Kbytes/sec.
ftp> quit
221 Goodbye.

C:\>
sample with domain same as hostname
Code:
C:\>ftp www.vuxxxxxnet.com
Connected to www.vuxxxxxxnet.com.
220 FTP Server ready.
User (www.vuxxxxxet.com:(none)): web2_webmaster
331 Password required for web2_webmaster.
Password:
230 User web2_webmaster logged in.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
web
user
log
cgi-bin
ssl
phptmp
226 Transfer complete.
ftp: 38 bytes received in 0.01Seconds 2.53Kbytes/sec.
ftp> quit
221 Goodbye.

C:\>

Last edited by koegies; 28th September 2005 at 01:00. Reason: posting samples
Reply With Quote
Sponsored Links