Skip to main content
Participant
July 14, 2023
Question

Upload POST files from AE plugin

  • July 14, 2023
  • 1 reply
  • 191 views

Hi,

I have a problem with uploading files to the server. Goal: I want to send the compressed project AE.zip using POST to the server. For a long time, my solution was working fine. I was creating a cURL request and executing it using the aeq.command.call method.

var result = aeq.command.call({
windows: winCmd,
mac: macCmd,
});
alert(result);

In this code result usually is empty 😞
The server returns a regular URL as a result. When I execute this command in a regular terminal, it always works, but in AE, the returned result is an empty string. Do you have any suggestions on what to change in the code so that the result is always read by the AE script? Alternatively, do you have any other ideas on how to retrieve a file from the Adobe folder, for example, "/var/folders/8z/m8l_nt8x7_qcxbcbgfkdkhfm0000gn/T/PROJECT.8PB5ErNk/project.zip," and send it using the POST method and be able to read the server's response?

This topic has been closed for replies.

1 reply

Mylenium
Legend
July 14, 2023

Why wouldn't you use the socket/ URL stuff in ESTK?

 

Mylenium