FTP Servers

 
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions
View previous topic :: View next topic  
Author Message
Flux
-


Joined: 13 Oct 2006
Posts: 48

PostPosted: Sun Feb 18, 2007 8:01 am    Post subject: FTP Servers Reply with quote

I'm trying to get my site to offer FTP file upload functionality. Easy enough right? Just get something like FileZilla.
I have FileZilla, but there's a slight problem.
I need it to access MySQL so I don't have to put in the users, their passwords, and their directories manually.

Anybody know any (free?..) FTP servers out there that access MySQL?

Or perhaps a script (and if necessary a free server that works with it) that on execution synchronizes the FTP server's account info with a MySQL database?..

Is that possible to just make with some website script, like PHP?
_________________
My signature is so lame.

I think phpBB forums hates my laptop '.';
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Feb 18, 2007 9:07 am    Post subject: Reply with quote

Ive been looking for something like this also. If you find anything let me know.

Filezilla is manual input but the source code is available, so you could always modify it.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Flux
-


Joined: 13 Oct 2006
Posts: 48

PostPosted: Sun Feb 18, 2007 9:15 am    Post subject: Reply with quote

I'm not very good at source code modification...at least not without a day or two (consecutive's equivalent) to learn whatever language it is...

But sure, I'll tell you about it when I find it.
_________________
My signature is so lame.

I think phpBB forums hates my laptop '.';
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Feb 19, 2007 2:27 pm    Post subject: Re: FTP Servers Reply with quote

Flux,

Some FTP servers support the ability to add/manage users remotely by issuing FTP commands. (Guildftpd seems to have that capability).

Using such a feature, you could write a script that reads the MySQL database, connects to the FTP server, and send commands to it to create users as described in the DB.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Feb 19, 2007 3:23 pm    Post subject: Reply with quote

FileZilla is using XML to store its settings and accounts.

Should not be too hard to write a PHP-script which would add and/or remove users.

I also found this code, which can be used to encrypt and decrypt passwords in FileZilla.

Quote:
<User Name="username">
<Option Name="Pass">encrypted password</Option>
<Option Name="Group"/>
<Option Name="Bypass server userlimit">0</Option>
<Option Name="User Limit">0</Option>
<Option Name="IP Limit">0</Option>
<Option Name="Enabled">1</Option>
<Option Name="Comments"/>
<Option Name="ForceSsl">0</Option>
<IpFilter>
<Disallowed/>
<Allowed/>
</IpFilter>
<Permissions>
<Permission Dir="C:\webserver\htdocs">
<Option Name="FileRead">1</Option>
<Option Name="FileWrite">1</Option>
<Option Name="FileDelete">1</Option>
<Option Name="FileAppend">1</Option>
<Option Name="DirCreate">1</Option>
<Option Name="DirDelete">1</Option>
<Option Name="DirList">1</Option>
<Option Name="DirSubdirs">1</Option>
<Option Name="IsHome">1</Option>
<Option Name="AutoCreate">0</Option>
</Permission>
</Permissions>
<SpeedLimits DlType="0" DlLimit="10" ServerDlLimitBypass="0" UlType="0" UlLimit="10" ServerUlLimitBypass="0">
<Download/>
<Upload/>
</SpeedLimits>
</User>
Back to top View user's profile Send private message
Flux
-


Joined: 13 Oct 2006
Posts: 48

PostPosted: Wed Feb 21, 2007 7:49 am    Post subject: Reply with quote

After fiddling around a little (and having problems with clashing FTP servers whose processes are hidden from immediate view >:| ) I've decided that cmxflash's idea is a good one.

I do hope, however, that anyone who knows free FTP servers with MySQL capabilities will come forward and link those who are waiting for such a nifty program to come along (myself and AbyssUnderground included)
_________________
My signature is so lame.

I think phpBB forums hates my laptop '.';
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group