Opening/Reading files from local area network machine

zimworxcode
zimworxcode Member Posts: 53
edited 2011-06-11 in NAV Three Tier
I would like to copy files/folders from a local network machine to the Server machine where the dynamiscs nav server is located can this be achieved in Dynamics NAV? if so how can this be done?

Comments

  • nav_rksaurabh
    nav_rksaurabh Member Posts: 13
    Rec.RESET;
    rec.SETRANGE(Path, 'c:\');
    IF Rec.FIND('-') THEN
    REPEAT
    COPY(Rec.path + rec.Name, 'c:\navision\local' + Rec.Name);
    UNTIL rec.NEXT = 0;
    Regards,
    rksaurabh
  • nav_rksaurabh
    nav_rksaurabh Member Posts: 13
    If you want to get the path of server then you can use the function
    CONTEXTURL
    Regards,
    rksaurabh
  • mohana_cse06
    mohana_cse06 Member Posts: 5,506
    I would like to copy files/folders from a local network machine to the Server machine where the dynamiscs nav server is located can this be achieved in Dynamics NAV? if so how can this be done?

    In Classic client or on RTC?
    IF RTC, you can use UPLOAD function
    Sends a file from a RoleTailored client to a Microsoft Dynamics NAV Service.
  • zimworxcode
    zimworxcode Member Posts: 53
    thank you for ur responses.