managing an ftp server

M

Matthias

hi there,

i'm sorry, but i've posted this before by accident already into another
group.

here goes: in our webproject we'd like to offer the users a way to
upload files to our server via ftp. so what i need to do is the following:

-> setup an ftp directory plus username and password programmatically
-> limit the uploads to this user ftp directory either by the number of
files or by total upload size. this limit should be configurable in a
way, that I can for example enforce a limit of 10 files per day.

can this be done through .net classes? or are there any (free?)
components around to solve those issues? any good reading available?

thanks in advance, matthias
 
M

Mark Fitzpatrick

Unfortunately, I can't think of any way to really do what you want. First,
the FTP server has to have these capabilities built into it natively and I'm
not sure the IIS web server will do this especially since it's driven by
Windows user account permissions. You may be able to find a third-party FTP
server that has things such as a limit to the number of files uploaded, but
I haven't seen one. Usually most file quota mechanisms I've seen are more
worried about the size of the files than the number (especially because a
user could put 100 files into a zip file and get around the file number
limit that way). The interfaces to talk to the FTP server willd epend upon
the FTP server itself. There are calls you can make programatically to IIS,
mostly done through the command prompt but also through the windows
scripting host, that can be used to different server instances and adjust
application settings, but I'm not sure on the level you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top