I would like to know that is there any possibility where we can able to directly post the file in Remote FTP server.
For achieving my need, I have checked that html form control supporting FTP protocol in Action attribute so which i have tried and below is the code snippet.
<form id="myform" method="post" enctype="multipart/form-data" action="ftp://username:password@domainname">
<table style="border-collapse: collapse;" border="1" width="500px">
<tbody><tr>
<td> Upload File :</td>
<td><input name="uploadedfile" type="file"></td>
</tr>
<tr>
<td colspan="2">
<input name="Save File" value="Save File on FTP Server" id="submit" type="submit">
</td>
</tr>
</tbody></table>
</form>
But when i am uploading the file and submitting the form then browser do the authentication of the FTP which i have mentioned in action attribute and after success it directly redirect me in mentioned domain with file manager view that means i can see the files and folders which hosted in the mentioned FTP domain.
I am sure that as form is successfully submitted then somewhere the uploaded file transfer in FTP server but where that i don't know.
Also if the HTML support the FTP protocol in action attribute then there should some way to post the file directly in FTP server.
Looking forward for some direction on this.
Thanks in advance.