PHP & ftp (site adduser)<

admin

Administrator
Staff member
well, what i'm trying to do is connect to a ftp, add a new user (using the SITE ADDUSER command), then disconnecting again.

so i connect to the ftp and login, using ftp_connect() and ftp_login()... then i use ftp_site() to perform the command, but even though it returns true (so the command is executed) there's no new user?

anyone has any experience with this? i haven't tried using the ftp_raw() function, because i don't have PHP5 installed...where are you getting ADDUSER at? that is not an FTP command that I see. the generic use of ftp_site is chmod.

what are you adding a user to?well, i'm adding a user to the ftp actually, it's running glftpd (linux), and with site commands you can actually administer the ftp...
thus running the command SITE ADDUSER .... would add a new user to the ftp (not just with glftpd, but also ioftpd and raiden (both windows) are able to do things like this)then I have no idea as I never used those programs before.
 
Back
Top