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

edited Jul 1, 2019 11:36AM in Customer Portal


Help required in uploading a large file to external sftp


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.


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