Hello Folks (Matthias?), I am trying to use tsNet to upload a file to my mHost account. Although the lesson <https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp> seemed very straight forward, I am not making any headway. I am using LC 9.6.2 (rc 2) Business, OSX 11.2.1 Big Sur (MBP 2017). I've included the pertinent portion of script and the server response below. Any suggestions welcome. -- Scott Morrow
Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email sc...@elementarysoftware.com booth 1-360-734-4701 ——————————————————————————— My LiveCode script: tsNetInit -- NOT in lesson? put "ftp://myUserName.serversignin.com" into tFtpServer -- put "/public_html" into tFtpDirectory put "myUserName" into tSettings["username"] put “myPassWord" into tSettings["password"] set the itemDel to SLASH put item -1 of tFilePath into tFileName put URL("file:" & tFilePath) into tFileContents put tsNetUploadSync(tFtpServer & tFtpDirectory & slash & tFileName, tHeaders, tFileContents, tRecvHeaders, tResult, tBytes, tSettings) into tOutput ——————— Response from the server ——————— the result: tsneterr: (28) Timeout was reached (this is returned almost instantly) tRecvHeaders: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 3 of 188 allowed. 220-Local time is now 00:15. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 30 minutes of inactivity. 421-Sorry, cleartext sessions and weak ciphers are not accepted on this server. 421 Please reconnect using TLS security mechanisms. tsNetGetTimeouts() —> 60,0,300000,60000,0,0 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode