implementing remote document (through FTP connection)

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

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