Current location: Hot Scripts Forums » Advertising Forums » Job Offers & Assistance » PHP script for FTP control


PHP script for FTP control

Reply
  #1 (permalink)  
Old 09-08-11, 11:23 PM
panner panner is offline
New Member
 
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rolleyes PHP script for FTP control

Hi;

I'm looking for an "on the fly" PHP function/file that can create/modify/delete an FTP user with password -- for a restricted web host folder. These are free FTP accounts that need to be created when a new user first logs onto my web site.

For example: The PHP function would provide FTP access for a user named Henry with a username henry@user.com and a password of ABCdef
with a user directory of ./httpdocs/mywebsite.com/users/henry (Henry needs to be restricted to the "henry" folder).

My web site is hosted on a Linux VPS Server with a Plesk control panel.

I suspect this PHP function would use the Linux "shell" command adduser in the root folder /usr/sbin/ because I don't think there is a Plesk API that can be used for this purpose. A special root FTP folder that contains a list of all FTP users may also need to be created???

I have absolutly no experiance with the Linux "shell" or commands -- so the only information I can provide is general server information.

If you need any clarification or want to submit an offer of help...

My email address is rlemire@telus.net
Reply With Quote
Reply

Bookmarks

Tags
ftp, linux, php, plesk, vps


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Php Run Script On Remote Server hunterhdolan PHP 10 01-07-10 10:29 AM
PHP upload script alej469 Job Offers & Assistance 5 05-18-06 05:01 AM
PHP script problem (please help) osmanmumtaz PHP 0 05-24-05 07:29 AM
PHP Membership Script sixflagsga Script Requests 1 05-19-05 05:23 PM
trying to create my first simple (?) php script, need guidance HotShotPhoto PHP 1 09-06-04 08:12 PM


All times are GMT -5. The time now is 01:29 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.