You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

External file upload

Question
19
Views
0
Comments
edited Jul 1, 2019 11:36AM in Customer Portal

Summary

Help required in uploading a large file to external sftp

Content

I am trying to upload a large file (> 2 GB) to an external sftp. I have created a custom widget from scratch(which does not extend any of the existing widgets) to handle this feature. REST authentication and transfer will be controlled by this widgets' controller using the curl. I have a input field to upload the file in view.php and ajax request in logic.js to handle the front end. When I try to echo the file using $_FILES from controller.php, the array is empty. Can someone please let me know if something has to be corrected. Below my code

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!