Downloading a file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Downloading a file

hernan.wilkinson
Hi,
 what is the best option to download a file using seaside? I mean, I have a "Backup" option that generates a file and I want to download it to the client after the backup is done...

 Thanks,
 Hernan.

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
Reply | Threaded
Open this post in threaded view
|

Re: Downloading a file

Carlos Crosetti-3
I used this method inside renderContentOn: html
 
     html anchor url: (self homeUrl)
 
homeUrl retrns the location of the file and the Commanche provides the download.
 
Hope this helps!
 
Carlos
----- Original Message -----
Sent: Friday, May 14, 2010 6:49 PM
Subject: [Seaside-dev] Downloading a file

Hi,
 what is the best option to download a file using seaside? I mean, I have a "Backup" option that generates a file and I want to download it to the client after the backup is done...

 Thanks,
 Hernan.


_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev