Looking for good FTP server software

rudder

Lifer
Nov 9, 2000
19,441
86
91
At home I use filezilla. I use the standard port and have it open to most of the world... so far no hacks (usually about 7-10 attempts a week). Maybe there are some add-ons, but it seams managing more than a couple of users would be burdensome.

This would be for a corporate environment (Maybe 70-100 accounts at most). Basically one feature i am looking for is the ability to make temporary accounts and generate random passwords that would auto-expire and auto delete and are easy to create in the first place.

We have windows platforms... so maybe IIS is capable (in a easier way).. but I have not played around with it enough to know.

any good programs I should look at? Price is not an issue.
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
If you're good at scripting, you could setup something to directly modify filezilla's "FileZilla Server.xml" and reload the config.

For example, I'd create a couple/few java programs ('cause that's what I'm familiar with) to create a user (and corresponding homedirs, permissions, etc..), delete a user, and track user expiration in a csv or something. Then set it up as a scheduled task.

http://webcache.googleusercontent.c...hp?f=6&t=24057&hl=en&gl=us&prmd=imvns&strip=1

http://webcache.googleusercontent.c...php?f=6&t=9905&hl=en&gl=us&prmd=imvns&strip=1

Here's an example batch someone in one of those threads wrote:
Code:
set /P uname=Enter username to add:  
set /P upass=Enter password to user: 

set target=C:\FTP
if exist "%target\%uname%" goto error
goto start

:error
echo %uname% folder already exists in %target%
goto end


:start
mkdir "%target%\%uname%"
set fz="C:\Program Files\FileZilla Server"
set input=input.txt
C:
cd %fz%

REM Backup config file
copy /y "FileZilla Server.xml" "FileZilla Server %date:~4,2%%date:~7,2%%date:~12,2%.XML"

REM Prep User Account for import
echo ^<User Name="%uname%"^> > %input%
echo ^<Option Name="Pass"^>%upass%^</Option^> >> %input%
echo ^<Option Name="Group"/^> >> %input%
echo ^<Option Name="Bypass server userlimit"^>0^</Option^> >> %input%
echo ^<Option Name="User Limit"^>0^</Option^> >> %input%
echo ^<Option Name="IP Limit"^>0^</Option^> >> %input%
echo ^<Option Name="Enabled"^>1^</Option^> >> %input%
echo ^<Option Name="Comments"/^> >> %input%
echo ^<Option Name="ForceSsl"^>0^</Option^> >> %input%
echo ^<IpFilter^> >> %input%
echo ^<Disallowed/^> >> %input%
echo ^<Allowed/^> >> %input%
echo ^</IpFilter^> >> %input%
echo ^<Permissions^> >> %input%
echo ^<Permission Dir="%target%\%uname%"^> >> %input%
echo ^<Option Name="FileRead"^>1^</Option^> >> %input%
echo ^<Option Name="FileWrite"^>1^</Option^> >> %input%
echo ^<Option Name="FileDelete"^>0^</Option^> >> %input%
echo ^<Option Name="FileAppend"^>0^</Option^> >> %input%
echo ^<Option Name="DirCreate"^>1^</Option^> >> %input%
echo ^<Option Name="DirDelete"^>0^</Option^> >> %input%
echo ^<Option Name="DirList"^>1^</Option^> >> %input%
echo ^<Option Name="DirSubdirs"^>1^</Option^> >> %input%
echo ^<Option Name="IsHome"^>1^</Option^> >> %input%
echo ^<Option Name="AutoCreate"^>0^</Option^> >> %input%
echo ^</Permission^> >> %input%
echo ^</Permissions^> >> %input%
echo ^<SpeedLimits DlType="0" DlLimit="10" ServerDlLimitBypass="0" UlType="0" UlLimit="10" ServerUlLimitBypass="0"^> >> %input%
echo ^<Download/^> >> %input%
echo ^<Upload/^> >> %input%
echo ^</SpeedLimits^> >> %input%
echo ^</User^> >> %input%
echo ^</Users^> >> %input%

REM Insert configuration changes
replac32 "</Users>" input.txt "FileZilla Server.xml" /F

REM Reload config.  Does not d/c users according to forums.
"FileZilla server.exe" /reload-config

echo Complete.

:end
pause
exit /b
 
Last edited:

rudder

Lifer
Nov 9, 2000
19,441
86
91
That might work.. but trying to stick with standard stuff. If I implemented that others in the department would be lost and I would have to constantly do their work. But this does give me some ideas.
 

jjones123

Junior Member
Dec 26, 2008
9
0
0
Sysax.com has a windows server that supports a command line and com based api to create user accounts. Might want to check it out. Here's the link to the ftp server