No you cannot generate script from the GUI.
Please read documentation:
https://winscp.net/eng/docs/guide_automation
Please read documentation:
https://winscp.net/eng/docs/guide_automation
option batch on
option confirm off
option transfer binary
open 127.0.0.1
cd D:\Axway\
lcd "D:\test\"
put *.*
close
exit