 
     # options =
     #   username   : String # koding username
+    #   remoteuser : String # FTP username
     #   remotehost : String # FTP server address
 
-    {username, remotehost} = options
-
-    unless remotehost
-      callback "Remote host is not given"
-      return no
-
-    options.mountpoint = escapePath path.join config.usersPath, username, config.baseMountDir, remotehost
+    {username, remotehost, remoteuser, mountpoint} = options
+
+    if not remotehost or not remoteuser
+      callback "Remote host/user is not given"
+      return no
+
+    unless mountpoint
+      options.mountpoint = escapePath path.join config.usersPath, username, config.baseMountDir, remoteuser
+      options.mountpoint+= "@#{escapePath remotehost}"
 
     unless safeForUser username, options.mountpoint
       console.error "User [#{username}] is trying to make something bad: ", options.mountpoint
       callback "You are not authorized to do this."
       return no
+
     @spawnWrapper '/sbin/fuser', ['-mk',options.mountpoint],(err,res)=>
       @spawnWrapper '/bin/umount', [options.mountpoint],(err, res)=>
         if err?

      callback error

    rs.on 'data', (data)->
      if data.indexOf(options.mountpoint) isnt -1
        console.log "[OK] #{remotehost} is mounted for user #{username}"
        rs.destroy()
        res =
          mounted: true
          remotehost: remotehost
          mountpoint: options.mountpoint
        callback null, res
      else
        console.log error = "[ERROR] mount point #{options.mountpoint} is not mounted"
        res =
          mounted: false
          remotehost: remotehost
          mountpoint: options.mountpoint
        callback null, res

  # Safe
  umountDrive : (options, callback)->

    # options =
    #  mountpoint : String # mountpoint for remount drive

    {remoteuser, remotehost, username} = options

    mountpoint = escapePath path.join config.usersPath, username, config.baseMountDir, remoteuser
    mountpoint+= "@#{escapePath remotehost}"

    unless mountpoint
      callback "Mountpoint is not provided"
