
# Automatically abort on error and turn off confirmations
option batch abort
option confirm off

# Connect to the FTP server using credentials
# open ftp://username:password@ftp.example.com/

open ftp://adm%40isekolah.my.id:jCEC%26%2BA.hOiifg%28*@ftp.isekolah.my.id/


# Sync local folder to the remote server (Use 'local' to sync remote to local)
#synchronize remote "C:\path\to\local\folder" /var/www/html/remote/folder
synchronize local "C:\xampp-win-x64-8.2.4-cbt\xampp\htdocs\uploads\" /cbt.isekolah.my.id/uploads

# Disconnect and exit WinSCP
close
exit

