is it posible to upload directly to remote server using SFTP on ASP.net MVC
Posted
by DucDigital
on Stack Overflow
See other posts from Stack Overflow
or by DucDigital
Published on 2009-10-31T18:59:04Z
Indexed on
2010/05/20
17:00 UTC
Read the original article
Hit count: 220
Hi! I am currently develope something using asp.net MVC, im still quite not experience with it so please help me out.
I have a form for user to upload Video. The current ideal concept to upload to remote server is to Upload it to to the current server, then use FTP to push it to a remote server.
For me, this is not quite fast since you have to upload to current server (Time x1) and then the current server push to new server (Time x2) so it's double the time.
So my idea is to make user upload it to the current server, and WHILE user is uploading, the current server add the file to DB and also send the file to the remote server at the same time using SFTP...
is it posible and are there any security hole in this concept?
Thank you very much
© Stack Overflow or respective owner