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
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
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
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,
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/
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