[Glass] Gemstone - how to copy/move files ?

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

[Glass] Gemstone - how to copy/move files ?

marten
How does one copy/move files on the server - I do not find any suitable
file operations .... !?

Marten

--
Marten Feldtmann
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Gemstone - how to copy/move files ?

BrunoBB
Hi,

System performOnServer: 'my linux command'

Also check GsFile i do not remember right now if you have methods to copy and move...

Regards,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Gemstone - how to copy/move files ?

James Foster-9
In reply to this post by marten
GsFile class>>#’renameFileOnServer:to:’ might be what you want.

On Apr 8, 2014, at 12:28 AM, [hidden email] wrote:

> How does one copy/move files on the server - I do not find any suitable
> file operations .... !?
>
> Marten
>
> --
> Marten Feldtmann
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Gemstone - how to copy/move files ?

marten
Yes, that can be a possible solution - BUT rename-API call is limited in
that way, that the target has to be on in the same filesystem.

I can not assume this ...

Marten

Am 08.04.2014 20:19, schrieb James Foster:
> GsFile class>>#’renameFileOnServer:to:’ might be what you want.
>


--
Marten Feldtmann
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass