B4X FEED SaveAs - What is the explanation ?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: SaveAs - What is the explanation ? است. این موضوع تا کنون 44 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع SaveAs - What is the explanation ?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
44
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I have an application where a pdf file with the name "saida.pdf" is generated in the application folder.
To facilitate access we use the command [Wait For (SaveAs(File.OpenInput(File.DirInternal, "saida.pdf"), "application/octet-stream", "saida.pdf")) Complete (Success1 As Boolean] so that the file is saved in the Downloads folder.
In the debug version, it works without any problems, we can even change the file name to ex1.pdf, for example, when running SaveAs and the pdf is saved, without any problem, in the Downloads folder.
In the release version (without any change in relation to the debug version), if in SaveAs we change the name of the file to ex1.pdf, for example, the file is saved with zero size in the Downloads folder!
Where am I wrong ??

 

عقب
بالا