file upload with attachment_fu.

Right now i am uploading file in public folder..

This is my setting ...

This code is working fine ...

Class ClientDocument < NdsiActiveRecord

  has_attachment :storage => :file_system,
    :max_size => 20.megabytes

  def self.upload_client_document(params)
    client_document = self.create! :uploaded_data =>
params[:Filedata],:client_id => params[:client_id],:document_name =>
self.default_document_name,:document_description =>


class ClientDocumentsController < ApplicationController

def upload_document

Now i want to upload my files to specific url like ..

how may i do this with attachment_fu ??

And help or idea ??