Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: PDF file download

$
0
0
Re: PDF file download
FoxInCloud
Re: PDF file download
Mar. 27, 2013
06:08 am
3QX0D60U3Show this entire thread in new window
Gratar Image based on email address
From:FoxInCloud support
To:Michele
does it work in some browser? I mean desktop compared to ipad ...


I put Set Step on at the beginning of wfileSaveAs and i check the execution of the procedure....

From wFileSaveAs it goes into

AJAX.DownloadFile(m.tcFileSrce, @m.tcResult)

passing the correct pdf name file

Here it goes into

this.FileToSiteTempDir(m.tcFile, @m.tcResult)

and it copies my file in temp folder (one only difference is that the name in temp folder is in lower case and my original file is in upper case)

Then it goes to cScriptJSadd_ passing as parameters
tcScript = FoxInCloud.DownloadFile('Temp/2013BZ000177.PDF');
tlPrePend = .F.

and i can't see what happens in
cScriptJSadd(m.this.cScriptJS_, m.tcScript, m.tlPrepend)

because the source is not available


Michele,
To help you, I need to know what code in .wFileSaveAs() runs or not.
Thanks


No dialgo is opened.

Wfilesavesas return an empty valu


.wFileSaveAs() takes a file from your server to the client browser; it triggers a 'save as ...' dialog on the browser.
1/ What value does .wFileSaveAs() RETURN ?
2/ no assert ?
3/ did you SET STEP ON to see what .wFileSaveAs() does?


I expected that with wfilesaveas i can download the file on the pc (or other device) where i am working on. I do wfilesaveas but nothin happens....where should the files be saved ?


What do you mean?


But i can't find the file on my pc








Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)


Viewing all articles
Browse latest Browse all 10393

Trending Articles