Which of the current FTP legends should I be using?
Charles Warwick
charles at techstrategies.com.au
Sat Jan 30 20:16:35 EST 2021
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, PrestoBruce via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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 first time (once I put in my server path/login credentials etc).
>
> However, binary files are corrupted. I see nothing in the tsettings array to force binary xfer.
>
> I get Transfer complete with server response code 226
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list