no copyfile

BlitzMax Forums/BlitzMax Programming/no copyfile

D4NM4N(Posted 2006) [#1]
there doesnt appear to be a file copy command. Whats the fastest alternative?

Would reading and writing byte for byte work, or would it be slower than an OS call?


Kev(Posted 2006) [#2]
not sure what would be faster, maybe use banks.

LoadBank
SaveBank


tonyg(Posted 2006) [#3]
Function CopyFile( src$,dst$ )
Description Copy a file.


Have you updated to the latest level?
<edit> Alternative is to use copystream.


SebHoll(Posted 2006) [#4]
There definitely is! - Check the FileSystem module documentation - CopyFile().


Zenn Lee(Posted 2006) [#5]
Hey, you just can't update using syncmods. You have to download the update from this website under your acount.

This is an old post, not sure if you still need help.