How do I use the magicpath properly?

Klappstuhl
Member Posts: 9
Hello community,
I am creating an export of html files which are stored in BLOBs. The export is no problem, but I want to suppress the saving dialog since the export is able to contain 300 and more files at once.
For the export I use COD 419.BLOBExport. The call looks like this:
With the 3rd parameter set to FALSE, the export downloads the files to the NAV server’s temporary folder.
Can anyone tell me how to get the temporary files from there, saving them with the specified name (DocumentNameLoc) and in the correct directory? The directory is defined in the setup of my application.
Thanks in advance
I am creating an export of html files which are stored in BLOBs. The export is no problem, but I want to suppress the saving dialog since the export is able to contain 300 and more files at once.
For the export I use COD 419.BLOBExport. The call looks like this:
TempBlobGlob Record TempBlob FileManagementGlob Codeunit File Management DescriptionGlob BigText outstrGlob OutStream DocumentNameLoc Text TempBlobGlob.Blob.CREATEOUTSTREAM(outstrGlob, TEXTENCODING::Windows); DescriptionGlob.WRITE(outstrGlob); TempBlobGlob.INSERT; FileManagementGlob.BLOBExport(TempBlobGlob,DocumentNameLoc,FALSE);
With the 3rd parameter set to FALSE, the export downloads the files to the NAV server’s temporary folder.
Can anyone tell me how to get the temporary files from there, saving them with the specified name (DocumentNameLoc) and in the correct directory? The directory is defined in the setup of my application.
Thanks in advance
0
Best Answer
-
Edit cu filemanagement and Check out silentupload silentdownload. They use magicpath.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/5
Answers
-
Edit cu filemanagement and Check out silentupload silentdownload. They use magicpath.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/5 -
Thanks for the answer, now I have 460 html docs in the Dynamics NAV server's Temp folder. How do I download them to my desktop for example?
Also the export changed the documents names. Is there a possibility to retrieve the original names?
Original names are like this
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions