Export File to Azure Storage Location

rickyl76rickyl76 Member Posts: 25
Hi,

From BC on prem, is it possible to export a file to an azure storage location?

Regards,

Answers

  • ftorneroftornero Member Posts: 522
    Hello @rickyl76,

    Yes, it is possible.

    Take a look to this post.

    https://forum.mibuso.com/discussion/comment/330188#Comment_330188

    Regards.
  • rickyl76rickyl76 Member Posts: 25
    Thanks. If i'm exporting my file from an XMLport i take it i can't just point the export path at the storage location then? Do i need to export it to the local disk and then put it into the azure directory in code?
  • ftorneroftornero Member Posts: 522
    Hello @rickyl76,

    You can save the XMLPort output to an OutStream and work with that.

    Regards.
  • rickyl76rickyl76 Member Posts: 25
    I have it saving to a stream and then create an instream and then use DownloadFromStream(Instr, '', OutputFileDirectory, '', OutputFileName). However, i get an i/o exception error. If i was to save it to the local disk all works fine
  • ftorneroftornero Member Posts: 522
    Hello @rickyl76,

    Coluld you elaborate what "works fine".

    Regards.
  • rickyl76rickyl76 Member Posts: 25
    Hello @ftornero, by working fine, i mean the file exports into the location with no issues. When i point it to the Azure location i get an i/o error

    Regards,
  • ftorneroftornero Member Posts: 522
    Hello @rickyl76,

    That means that your Azure Storage is mapped to a Local Drive ?.

    And if that is the case you can see that drive in the Explorer and write a file ithere without any issue ?

    Regards.
  • rickyl76rickyl76 Member Posts: 25
    I can yes. I can export a file from BC to the local c: drive no problem. I can also copy this file from c to the mapped Azure location in Explorer. However, i can't get BC to export directly to the Azure location
  • ftorneroftornero Member Posts: 522
    Hello @rickyl76 ,

    Maybe the user that is running de NST instance don't have mapped the Azure location.

    Regards.
  • mchruss27mchruss27 Member Posts: 3
    Hi @ricky76 I have the same issue, did you find the solution?
Sign In or Register to comment.