Page 1 of 1

Help with translation into Appery please -- Below is FoxPro code that sends pics

Posted: Fri Nov 01, 2013 1:15 am
by abigdreamer

IF this.http.state= 0 OR this.http.state = 2
** this.http.blocking = .t.
this.http.request.Filename = SYS(5)+SYS(2003)+'\work_\'+file_name
this.http.Request.Accept = 'AUX'
this.http.Request.UserAgent = 'my app'
** this.edit1.Value = this.http.request.Filename + CHR(10)+this.edit1.value
this.http.put('/'+file_name+',upload')
ENDIF


Help with translation into Appery please -- Below is FoxPro code that sends pics

Posted: Fri Nov 01, 2013 3:49 am
by maxkatz

Hi Mike - there is no Appery.io code - it's JavaScript. Looks like you do some variable assignments and then do an PUT?