Thread: DLL's
View Single Post
Old 03-18-2005, 07:16 PM  
ganymede
Member
 
Join Date: Dec 2004
Posts: 46
Default

Personally i think the DLL should have higher level functions than memory mapping ones... EG:

GetUserListing()
GetUserDetails(string Username)
GetGroupListing()

AddUser(params)
AddUserIP(username IP)
DelUser(params)

GetCurrentUsers()

If you want any kind of application to be built it would be great if everyone used the same DLL to access the FTP underlying commands like a facade layer in any N-Tier architecture.
Not that some use memmory mapping others use, the flat files etc.

At the moment i do it in a really crap way i login to the ftp and run the commands that are built in and parse the output.... the reason i do this apposed to the flat files is because the 'business logic' is already built into the ftp server. if we had the DLL it would be too.
ganymede is offline   Reply With Quote