How to upload file from pc to another server with Curl & Laravel?
<p>I'm building a file upload site and I have 2 servers - 1 for display the site , and 1 for store the files.</p>

<p>The main site build on Laravel and the other server is just PHP.</p>

<p>I want to send the file from the main site and handle him on the other server and after uploadind to get the info and store it on one DB - of the main site.</p>

<p>If there is diffrenet and better way then Curl I'll be happy to hear.
Sorry about my english and thanks to the helpers :) </p>

<p>EDIT - </p>

<p>The answer of Afik is currect but I need something else.
When I upload the file I need to convert it with FFMPEG and I cant do that with ftp, there is a way to do it?</p>