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

Not able to copy large files using panel

Participant ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

Hi All,

We have been using the File.copy function in the extendscript.

Due to some strange reason, the file copy is not getting completed.

From our troubleshooting we think the copy is not happening when the file size is more that 4gb. The copied file will be having a size different to the original file.

Here is the code snippet,

var assetPath = new File(pathToCopyFrom);

var result= assetPath.copy(filePath);

result comes as false.

Please advice.

Thanks and Regards,

Anoop NR

TOPICS
SDK

Views

688

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

Adobe Employee , Jun 26, 2018 Jun 26, 2018

No dates available; we are investigating fixes for the issue, for inclusion in forthcoming releases.

Votes

Translate

Translate
Adobe Employee ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

Reproduced. Annoying!

Perhaps you can copy files at the JavaScript level, using CEP calls?

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 ,
Jun 26, 2018 Jun 26, 2018

Copy link to clipboard

Copied

Hi Bruce,

Thank you for identifying the issue.

Any date when we can expect this to be resolved?

Thanks and Regards,

Anoop NR

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
Adobe Employee ,
Jun 26, 2018 Jun 26, 2018

Copy link to clipboard

Copied

No dates available; we are investigating fixes for the issue, for inclusion in forthcoming releases.

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 Beginner ,
Nov 25, 2021 Nov 25, 2021

Copy link to clipboard

Copied

Hi Bruce,

 

Is there a fix for 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
Explorer ,
Dec 11, 2021 Dec 11, 2021

Copy link to clipboard

Copied

Hello! Try to use batch file in Windows. For example:

 

var batFile = new File(fullPathToYourBatFile);
batFile.encoding = 'UTF-8';
var ff = batFile.open('w', 'TEXT');

var ff = batFile.writeln('@copy file1 file2 bla-bla');

var ff = batFile.close();
var ff = batFile.execute();

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 Beginner ,
Dec 12, 2021 Dec 12, 2021

Copy link to clipboard

Copied

Would this be possible to do on a Mac?

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
Explorer ,
Dec 12, 2021 Dec 12, 2021

Copy link to clipboard

Copied

LATEST

The general meaning remains the same for MacOS. Copying the file will be performed by system tools and not by CEP. In the 4th line (writeln) you must specify the file copy command, which is used in MacOS terminal. Also you may add string like as 'var ff = batFile.remove()' to delete file your script created.

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