# Implementing remote document (through FTP connection)

**URL:** <https://www.ruby-forum.com/t/implementing-remote-document-through-ftp-connection/120579>\
**Category:** Rails\
**Created:** [November 18, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/implementing-remote-document-through-ftp-connection/120579 "2007-11-18T20:28:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://www.ruby-forum.com/u/nelson)\
**Post date:** [November 18, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/implementing-remote-document-through-ftp-connection/120579/1 "2007-11-18T20:28:46Z")

</div>

hi all!  
i’m implementing a web application that lets the user to handle  
remote files.I have my application one the machine A and the docs have  
to be on machine B (accessibile through FTP). I think to make a model  
that store the url of the file on the B server and mask the operation  
at model level in order to save metadata locally and real file  
remotely. It’s right? Some plugins can make my life simpler? come  
suggestions?

thanks,  
nelson

---

<div class="post-metadata">

**Author:** ![nelson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://www.ruby-forum.com/u/nelson)\
**Post date:** [November 19, 2007, 2:59am UTC](https://www.ruby-forum.com/t/implementing-remote-document-through-ftp-connection/120579/2 "2007-11-19T02:59:15Z")

</div>

maybe look at the net-ssh project:  
[http://net-ssh.rubyforge.org/](http://net-ssh.rubyforge.org/)

Capistrano uses that.

---

<div class="post-metadata">

**Author:** ![nelson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://www.ruby-forum.com/u/nelson)\
**Post date:** [November 21, 2007, 9:45am UTC](https://www.ruby-forum.com/t/implementing-remote-document-through-ftp-connection/120579/3 "2007-11-21T09:45:41Z")

</div>

i uses ftp because it allow me to have on B machine a ftp server that  
support virtual users (aka users witout shell access or account). I  
solve it using standard net/ftp module and making my modules dealing  
with remote data upload. now i’m integratin ajax to inform the user  
about the file transfer.

thanks for the advice,  
nelson

On 19 Nov, 02:59, Dustin A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
