how can i delete files on the client computer in nav 2009?

chrechre Member Posts: 3
edited 2009-06-30 in NAV Three Tier
hi all!

i have to create files from nav, store it on the client, do something else and in the end delete it.
all this should be done via rtc.

so my codeunit first creates the file on the nav service and than downloads the file to my client.
in the end of the codeunit both files should be deleted.
the problem is, that i can only delete the file on the nav service.
how can i delete the file on my client???

thx for your help!!!
chris

Comments

  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    files downloaded to the "magic" temporary area on the client are automatically deleted when you close the client.
    Use '<TEMP>' as download directory to download to this area.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • chrechre Member Posts: 3
    ahhhh, thank you!!!
    :D

    but in the meantime another problem occurred :/
    my files can be very large and than i get an error from NAV:
    "The file that you are trying to use is too large."
    Oo^^

    what can i do?
    thx, chris
Sign In or Register to comment.