Sript shell et ftp

Slt j’aimerai ecricre un script ftp qui permet de deplacer un fichier d’un emplacement à un autre

Dans ce genre là :

$ curl -u username:password -T /home/toto/Documents/filename.txt ftp://ftp.tondomaine.com/lesfichiersdetoto/filename.txt

Donc un p’tit sh

#!/bin/ksh
/usr/bin/curl -u $1/$2 -T $3/$4 $5/$4