• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

myFile.Copy() has any size limitation?

Participant ,
Apr 28, 2019 Apr 28, 2019

Copy link to clipboard

Copied

Hi,

i'm using this function to copy some file(on hard drive), but i noticed files that are big (6GB+) are not fully copied but truncated. Other files that are about 4,5 GB are copied without issue. The drive is NTFS formatted.

Thanks!

TOPICS
SDK

Views

755

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 29, 2019 Apr 29, 2019

There's not a ton out there. I just learned through the example panels on the GitHub repos and the Node.js Docs. I've heard Davide Barranca's book is great, it's titled Photoshop but applies to all Adobe apps using CEP.

This is a good, getting started guide, but you'll want to look at other tutorials to get more in-depth with Node.js.

CEP 9 Cookbook

Here's a few other good blogs to check out:

How to Build a Node.js Server in a Panel

HTML5 (CEP) PANELS FOR AFTER EFFECTS - Victoria Nece

ALSO......

Just

...

Votes

Translate

Translate
Community Expert ,
Apr 28, 2019 Apr 28, 2019

Copy link to clipboard

Copied

Which files? Be more specific.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 28, 2019 Apr 28, 2019

Copy link to clipboard

Copied

Hi, i'm using this code:

  1. var importFolder = new Folder;  
  2. importFolder = Folder.selectDialog("Open a folder");  
  3. var myFile = new File("F:\\work\\video.mp4");  
  4. var newFileName = importFolder.fsName + '\\' + 'copied_' + myFile.name;    // creates the full path to the new file 
  5. myFile.copy(newFileName);  

where video.mp4 is a 6GB file

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2019 Apr 28, 2019

Copy link to clipboard

Copied

Moved to Premiere Pro SDK​

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2019 Apr 28, 2019

Copy link to clipboard

Copied

Strange, I didn't know there was a size limitation. You can try the Node.js method posted here, you'll get better performance from it and it may solve this issue.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 29, 2019 Apr 29, 2019

Copy link to clipboard

Copied

Thank you

i have made a quick search to undestand how it works, but there are a lot information. Do you have any specific tutorial's link that shows how to use CEP panel, node.js and the necessary stuff?

If i will be able to complete this script, i would like to credit you for the help

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

Copy link to clipboard

Copied

LATEST

There's not a ton out there. I just learned through the example panels on the GitHub repos and the Node.js Docs. I've heard Davide Barranca's book is great, it's titled Photoshop but applies to all Adobe apps using CEP.

This is a good, getting started guide, but you'll want to look at other tutorials to get more in-depth with Node.js.

CEP 9 Cookbook

Here's a few other good blogs to check out:

How to Build a Node.js Server in a Panel

HTML5 (CEP) PANELS FOR AFTER EFFECTS - Victoria Nece

ALSO......

Just to give you a heads up, Adobe just announced that CEP will be replaced with UXP panels at some point in the future. These aren't available yet in video apps (only XD), but it's good to be aware the switch is coming. A lot of your Node.js skills will translate, so it's still worth learning, but some of the core modules will look different and such in UXP as it's no longer a Chrome-based browser or built on Node.js.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines