I am programming a script to allow users to download all the files into an FTP directory. I tried to find out how to zip a FTP directory for delivery, but that doesn't work. Also, since the uploading is dynamic, I can not directly know what the files are in the FTP directory.

If someone could point me in the right direction, that'd be great.

Thanks.