On Tue, 18 Nov 2003 12:10:15 +0100
"Yves Vindevogel" <[EMAIL PROTECTED]> wrote:

> I agree that it something very useful.
> 
> I think, but I'm not an export, that we need something like this:
> An XSP, with parameter "target-platform" for Linux / Windows choice.
> The XSP should be able to do this, eg.
> 
> <xsp-shell:execute-command>rm -f <xsp-request:get-parameter
> name="file"</xsp-shell:execute>
> (platform dependant but flexible)
> 
> OR
> 
> <xsp-shell:delete-file><xsp-request:get parameter
> name="file"><xsp-shell:delete-file>
> (this would be platform independant, but limited to a number of methods)
> 

Hi,

could File file = new File(name);
file.delete(); //platform independend

from java.io.File not do this job, or i'm misunderstandig you?

Regards,
Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to