Giter Site home page Giter Site logo

Comments (6)

phax avatar phax commented on July 29, 2024

Hi,

ad 1) Currently AS2 1.1 is supported.
ad 2) I have never formally investigated it, but here's what I found out:

  • FileName preservation (FN-MA) is possible, through customizing (sendfilename="true")
  • Chunked Transfer Encoding (CTE) is supported

ad 3) No.

hth, Philip

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

Hi Philip,

Thank you for the fast answer! as2-lib looks really good.

  1. How do I set CTE when sending a message?
  2. When sending big files, do all the file needs to be stored in memory?

Thank you for your help,
Ziv

from as2-lib.

phax avatar phax commented on July 29, 2024

Hi Ziv,
when sending a message use AS2ClientRequest.setContentTransferEncoding (EContentTransferEncoding).
See https://github.com/phax/as2-lib/blob/master/as2-lib/src/test/java/com/helger/as2lib/supplementary/main/MainSendToMendelsonTest.java for an example on how to invoke the client.

Concerning big files: I must admit I never really tested it. What is "big" for you?

// Philip

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

Hi Philip,

I am asking about Chunked Transfer Encoding. (not Content).

Regarding file size, big would be above 50GB. My question is whether the package loads the whole file to memory.

Thanks,
Ziv

from as2-lib.

phax avatar phax commented on July 29, 2024

Mea culpa - too many abbreviations.

  • Chunked encoding is currently not supported, but easy to add, as it is part of the default Java HttpUrlConnection as well as part of Apache Http Client
  • The big files will most likely cause an error atm. I never really tested with large files, but I think I should to. Any PR in that direction is appreciated.

Happy weekend,
Philip

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

Thanks a bunch Philip. We are now in the phase of choosing the library, and as2-lib is a serious candidate. We will seriously consider a PR when we get there.

from as2-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.