#!/bin/bash

HOST='41.41.178.66'

USER='karam'

PASS='p@ssw0rd'

TARGETFOLDER='/data/books01/books/2014'

SOURCEFOLDER='/KaramQubsi'

lftp -f "

open $HOST

user $USER $PASS

lcd $TARGETFOLDER

mirror --verbose $SOURCEFOLDER $TARGETFOLDER

bye "
