Copy() function doesn't work with big files

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
User avatar
Cad81
Posts: 1
Joined: May 1st, 2019, 2:56 pm

May 1st, 2019, 3:04 pm

Hi guys,

i have a problem with copy() function. With small files, it works fine, but bigger files (about 4GB ) are interrupted at variable size (same size for the same file, but different size from other files). The drive is NTFS formatted and there are a lot of free GB.

PS: the script is for premiere, but i think the issue is not software related.

Thank you!
User avatar
zlovatt
Posts: 35
Joined: October 31st, 2016, 5:00 pm
Location: Los Angeles
Contact:

May 7th, 2019, 4:47 pm

A better approach may be to use

Code: Select all

system.callSystem()
instead, and write OS-level commands to copy the file. This way is more robust and much more flexible.
Post Reply