Re: Which of the current FTP legends should I be using?

2021-02-01 Thread Curry Kenworthy via use-livecode
Me: >> Try tsNetUploadFile - fewer steps! Bruce: > Thanks, much appreciated. No problem. That's why I love, and preach, KISS! (My father taught me "Keep It Simple (Stupid)" at an early age. Probably around 7 years old. Military aircraft electrician. They popularized this phrase - and they

Re: Which of the current FTP legends should I be using?

2021-02-01 Thread Richard Gaskin via use-livecode
PrestoBruce wrote: > I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. How will the resulting upload be used? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Which of the current FTP legends should I be using?

2021-01-31 Thread matthias rebbe via use-livecode
Hi PrestoBruce, just a shot in the dark..., but how did you fill the pData parameter? Did you use put URL "binfile:..." into pData or maybe by mistake put URL "file:" into pData That would explain why the data is corrupted after upload. - Matthias Rebbe Life Is Too

Re: Which of the current FTP legends should I be using?

2021-01-30 Thread Charles Warwick via use-livecode
Hi, If you are following the code from the lesson, what are you getting back in the tRecvHeaders variable? Generally as part of the response stored in that variable, it will indicate whether it is using ascii or binary mode for transmission. Regards, Charles > On 31 Jan 2021, at 11:21 am,

Re: Which of the current FTP legends should I be using?

2021-01-30 Thread Curry Kenworthy via use-livecode
Bruce: > tsNetUploadSync > binary files are corrupted Try tsNetUploadFile - fewer steps! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/

Which of the current FTP legends should I be using?

2021-01-30 Thread PrestoBruce via use-livecode
I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. I have spent more hours than I care to admit trying to make tsNetUploadSync work for me. I used the example found at https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp Which at first blush, worked the