Addon FTP got error.

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
Hi,

I found out that my add on ftp got error.

normally add on ftp username will be format like [email protected]

but when i add on the ftp, it show only username.
 

Attachments

  • addon_ftp.png
    addon_ftp.png
    146.7 KB · Views: 84
Thats why, it seems all FTP accounts just use the username for owned IPs.

@John: Wonder what happens if the IP is changed to shared from owned and vice-versa? Will it be updated correctly? And say, if a client has a shared IP, then is put on an owned IP, obviously their FTP client won't log in - is it our job to tell them this?
 
Last edited:
@John: Wonder what happens if the IP is changed to shared from owned and vice-versa? Will it be updated correctly? And say, if a client has a shared IP, then is put on an owned IP, obviously their FTP client won't log in - is it our job to tell them this?

Yes, DA does handle it. Writing that piece of code was my nemesis, it's ugly. It has to factor in many things, like if the IP is owned.. and if the domain is the main domain, if it's moving from owned-owned, shared-owned, owned to shared, shared-shared, etc... Only the main domain of the account will be "username". Shared domains do get moved to the other ftp password file too, but they maintain the [email protected] ftp login. If I was to rewrite the ftp login system from scratch again, I'd probably leave everyone with the format [email protected] (except for system accounts) and use just one big shared ftp password file. Life would be far simpler and would make using other ftp system (like pureftp) a piece of cake ;) Now, it becomes even more fun with the introduction of multiple IPs per domain! ;)

John
 
Back
Top