On Wed, 19 Apr 2000, Scott Rossi wrote:
> I seem to be having a problem copying a file from one location to another in
> MC 2.3 Win. I'm using the following generalized script, which worked fine
> in 2.2.5:
>
> open file destination_path for write
> put url "file/binfile:" & source_path into tSource
> write tSource to file destination_path
> close file destination_path
>
> The problem I'm having is that the written file winds up a 1K file which is
> missing the contents of the source file (which is about 5 MB). I've tried
> using "binary write" with no success.
I see two problems, one with operator precedence and one with syntax.
And it's more complicated than is necessary. How about just:
put url ("binfile:" & source_path) into url ("binfile:" & destination_path)
Regards,
Scott
> Scott
>
> _____________________________________________________________________
> Scott Rossi Tactile Media - Multimedia & Design
> Creative Director Email: [EMAIL PROTECTED]
> Web: www.tactilemedia.com
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.