Forums / Developer / Need some hints on file uploading

Need some hints on file uploading

Author Message

Lex 007

Tuesday 29 March 2005 8:56:19 am

Hi,

Here is the situation :
I have a new custom class with a "binary file" attribute, and a filepath attribute. Users are supposed to put documents on a file server, and the web server can access the file server.

I would like to run a cronjob that :
- checks if the file of the filepath exists
- deletes previous file (if it exists)
- uploads the new file
- and publishes the new object.

Could anyone give me some hints on how file uploading works in eZ Publish 3.5.1 ? Do you think my cronjob project is doable ?

Thanks in advance !

Lex