Options

Application Server to Export Batch Files

craigbarbscraigbarbs Member Posts: 60
When using application server to export batch files, it does not see mapped drives as valid destinations for the files. When running the same application using a navision client, it is able to use the mapped drive.

Does anybody know a way around this?

Comments

  • Options
    g_dreyerg_dreyer Member Posts: 123
    Hi Craig,

    Must admit that I am not sure what the correct answer is, but have you tried using the UNC name (i.e. \\Servername\sharedfolder\filename.txt)

    Regards,
    gus
  • Options
    eromeineromein Member Posts: 589
    The NAS is running on the server.

    Maybe the mapped drive isn't available on the server.

    Sample:

    Client : X:\Navision\File.txt
    Server : D:\Navision\File.txt

    Maybe that's it?
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • Options
    WaldoWaldo Member Posts: 3,412
    Allways try to avoid working with mapped drives, but use the \\server\share\folder\file.ext instead (like g_dreyer proposes).

    Makes life much easier...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    craigbarbscraigbarbs Member Posts: 60
    Must admit that I am not sure what the correct answer is, but have you tried using the UNC name (i.e. \\Servername\sharedfolder\filename.txt)

    I don't think I can use this because the files are being transfered to a UNIX machine using NSF software. The software creates mapped drives on the machine.
    The NAS is running on the server.

    Maybe the mapped drive isn't available on the server.

    Sample:

    Client : X:\Navision\File.txt
    Server : D:\Navision\File.txt

    Maybe that's it?

    I installed and ran a Navision client on the server, so this is definitely not the problem.

    Thanks for both your responses.

    Regards
    Craig
  • Options
    g_dreyerg_dreyer Member Posts: 123
    Hi Craig,

    Why not try to run automated ftp batch file every now and then?
    You can do a mput *.* and suppress prompts for overwriting files (or delete them once you have transferred them).

    Regards,
    gus
Sign In or Register to comment.