Script Usage Transfert

Please to use the script with the correct number of arguments :
./transfert.sh mode user source_folder destination_folder filename/foldername IP

Where :

  • mode is the way to transfert between :

    • 1 mean upload file to the ssh specified destination folder

    • 2 mean download file since the ssh specified source folder

    • 3 mean upload folder to the ssh specified destination folder

    • 4 mean download folder since the ssh specified source folder

  • user is your standard user name on the ssh plateform

  • Source_folder is the name of the source repertory

  • Destination_folder is the name of the destination repertory

  • filename is the exact files name to transfert or the folder name to transfert

  • IP_adress”