473,326 Members | 2,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

PHP and FTP Server - Synchronizing users

Hi all,

I have been asked to build a server that allows people to upload/download
files to that server via FTP, but they want an web interface to manage the
files and users.

I know how to do most of this, but I am not sure how to synchronize the
PHP and FTP users. The OS will be linux. I get to choose the FTP server.

For example, a user should be able to login, create a new user, then FTP a
file to the server as that new user. That file should be readable only by
that user and his/her parent user(s).

Any pointers would be appreciated - all of my searches bear lots of
information about php-ftp, which isn't much help ;)

Cheers,

Ben
Oct 11 '06 #1
3 1075
It's possible a control panel, like cPanel, DirectAdmin, or Webmin
would work. You could set up different virtual hosts, each with its own
set of users.

Ben Holness wrote:
Hi all,

I have been asked to build a server that allows people to upload/download
files to that server via FTP, but they want an web interface to manage the
files and users.

I know how to do most of this, but I am not sure how to synchronize the
PHP and FTP users. The OS will be linux. I get to choose the FTP server.

For example, a user should be able to login, create a new user, then FTP a
file to the server as that new user. That file should be readable only by
that user and his/her parent user(s).

Any pointers would be appreciated - all of my searches bear lots of
information about php-ftp, which isn't much help ;)

Cheers,

Ben
Oct 11 '06 #2
On Wed, 11 Oct 2006 05:56:34 -0700, petersprc wrote:
It's possible a control panel, like cPanel, DirectAdmin, or Webmin
would work. You could set up different virtual hosts, each with its own
set of users.
Yes, Webmin would allow me to do it outside of PHP, but ideally I want to
write php code that would manage the users directly, so that there is just
one integrated interface.

Cheers,

Ben

Oct 11 '06 #3
If you just want to check the login just try to connect to your ftpd. If
you want to manage users/... you should consider using a ftpd that can
handle mysql. Example: Proftpd can store users in a mysql-table.

Florian

Ben Holness wrote:
On Wed, 11 Oct 2006 05:56:34 -0700, petersprc wrote:

Yes, Webmin would allow me to do it outside of PHP, but ideally I want to
write php code that would manage the users directly, so that there is just
one integrated interface.

Cheers,

Ben
Oct 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Keith Veleba | last post by:
Hello to all fellow c.l.p'ers! Long-time listener, first-time caller. Background: I'm working on a project where I have to do some serious multithreading. I've worked up a decorator in Python...
3
by: EK | last post by:
I am trying to use asp to download a file located on a different server. I can use ADODB.Stream, LoadFromFile(\\Server\Something) and the Response.BinaryWrite successfully, but only if I create an...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
5
by: msprygada | last post by:
I am having a problem with getting a recordset to fill with data in an Access Data Project from a SQL Server database. Here is the code example that is in the Access help files that I can get to...
10
by: Daven Thrice | last post by:
I have a database that needs to be replicated over the Internet. I was hoping it would be a simple task, but apparently it is not. I've started browsing the msdn article on the topic. In the...
2
by: Danny J. Lesandrini | last post by:
I suspect this isn't possible, but I recently moved a app to SQL Server and it contains a Project table. Now I have a new CRM tool that needs to be mobile, but should also synch with the Project...
3
by: jodyblau | last post by:
I'm fairly new to access, so I hope this question isn't too elementary. I'm putting together a database for my office. I want the database to be accessible to 5 or 6 users on our network and so...
4
by: Wolfgang Kraus | last post by:
Hi, i want to create a solution which shall consist of a sql server 2005 - data base (express edition if the following features are available by express edition) and a mobile windows application...
5
by: javelin | last post by:
Can someone recommend a utility (preferably open-source) to synchronize changes across servers? I need to bring only data over in some cases, and only objects in other cases. Any ideas? Thx!
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.