** What exactly do you mean when you state make sure the FTP maintains your file structure. **
When you unzip the files locally, they will get put into a bunch of different directories (folders) which branch off from the /calendarscript/ one. That directory structure must be preserved on the server.
AFAIK, that is the default operation of most FTP clients.
Dan O.
------------------