Author Topic: Copying and pasting files?  (Read 949 times)

Is it possible to "copy and past" non-text files in a way with torque script?

I'm stuck in a giant pickle tower of doom.
« Last Edit: February 15, 2008, 04:07:36 PM by laremere »

Not that I know of; I don't think Torque is designed to handle (downloading, copying, etc.) non-plainttext files by default.  It'd probably require engine modification.

Thats a bummer.

Thanks though.

Binary is not copyable.

I think Torque can use the file handling functions for any kind of file and readline/copy the data to somewhere else - open Blockland.exe in Notepad and you'll get a load of foreign characters - but the file still opens as a text file.

Binary is not copyable.
01001111 01101000 00100000 01111001 01100101 01110011 00100000 01101001 01110100 00100000 01101001 01110011 00101110

I think Torque can use the file handling functions for any kind of file and readline/copy the data to somewhere else - open Blockland.exe in Notepad and you'll get a load of foreign characters - but the file still opens as a text file.

No, you definately can't. Thats why there is a binary transfer mode for the TCPObject, instead of just writing the file using a normal fileobject.