Correction:
the snippet is wanted to type was:
  filename = 'c:\\whatever.ear' #this is dependent of the application
being deployed
  db.t_deployment.insert(server='test', earfile=filename)

On 15 sep, 14:49, "R. Osinga" <[email protected]> wrote:
> Hi all,
>
> I have a web2py application that manages deployment of jee
> applications to different servers.
> These processes can sometimes take a lot of time, and therefore I
> chose to work with background processes.
> Everting's fine thusfar.
> Now I want to archive the ear-file that was sent to the test-server in
> the database, so that I can re-use is when this version is approved
> and needs to be installed on the production-server.
> .. And the question is: Hou do I transfer a file from the filesystem
> to the database?
> The following won't work - that I know, but how should I do it?
>
>   filename = 'c:\\whatever.ear' #this is dependent of the application
> being deployed
>   db.t_deployment(server='test', earfile=filename)
>
> Roald

Reply via email to