Transfer file from Server to Web Client machine

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Transfer file from Server to Web Client machine

Postby achiary » Thu Nov 26, 2009 4:16 pm

I need to transfer a file from the server to the web client machine without user intervention . Any idea on how to do it ? If not possible from inside the Servoy aplication, any suggestion on how to do it ?
achiary
 
Posts: 83
Joined: Wed Nov 14, 2007 3:29 pm
Location: Argentina

Re: Transfer file from Server to Web Client machine

Postby pbakker » Thu Nov 26, 2009 6:12 pm

You can do this from within a plugin. Check the sourcecode of the Jasper Reports plugin. that serves up a PDF in the WebClient of the report that was executed.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Transfer file from Server to Web Client machine

Postby lesouef » Sat Nov 28, 2009 8:42 pm

I use showUrl, but you are left to confirm the "save as" name. can't be fully automatic forbidden by web rules...
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: Transfer file from Server to Web Client machine

Postby achiary » Mon Nov 30, 2009 3:00 am

pbakker wrote:You can do this from within a plugin. Check the sourcecode of the Jasper Reports plugin. that serves up a PDF in the WebClient of the report that was executed.

Paul


Paul,

You mean that a copy of the pdf file gets copied in the client machine disk wothout user intervention ? We need to do that but witha text file.
achiary
 
Posts: 83
Joined: Wed Nov 14, 2007 3:29 pm
Location: Argentina

Re: Transfer file from Server to Web Client machine

Postby IT2Be » Mon Nov 30, 2009 8:55 am

I need to transfer a file from the server to the web client machine without user intervention . Any idea on how to do it ? If not possible from inside the Servoy aplication, any suggestion on how to do it
?Simpler: you can use the tools plugin.
It has many specific server functions...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Transfer file from Server to Web Client machine

Postby pbakker » Mon Nov 30, 2009 12:18 pm

You mean that a copy of the pdf file gets copied in the client machine disk wothout user intervention ? We need to do that but witha text file.


This is not allowed in browsers: it's not possible in a browser to interact with the filesystem from within a page, without user interaction.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Transfer file from Server to Web Client machine

Postby patrick » Mon Nov 30, 2009 1:05 pm

and there are thousands of really good reasons for that...
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Transfer file from Server to Web Client machine

Postby jcompagner » Tue Dec 22, 2009 6:47 pm

patrick wrote:and there are thousands of really good reasons for that...


please name them all..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Web Development

Who is online

Users browsing this forum: No registered users and 5 guests