--Send File
-- Launch rx binary lua_senddata("rx -X u-boot.bin",true);
-- Upload file
lua_xmodem_snd("D:\\00_Share\\u-boot.bin");
-- or with xmodem 1K
lua_xmodem1K_snd("D:\\00_Share\\u-boot.bin");
---------------------
--Receive File
-- Launch sb binary lua_senddata("sb -x u-boot.bin",true);
-- Download file in folder 'D:\\00_Share\\'
lua_xmodem_rcv("D:\\00_Share\\");
--or
-- Download file in putty folder
lua_xmodem_rcv(nil); |