Comments (6)
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.
Hi Philip,
Thank you for the fast answer! as2-lib looks really good.
- How do I set CTE when sending a message?
- When sending big files, do all the file needs to be stored in memory?
Thank you for your help,
Ziv
from as2-lib.
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.
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.
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.
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)
- Performance issues in AS2 servlet when transferring files HOT 2
- unable to send file to AS2 server from AS2-LIB HOT 5
- getting started HOT 9
- Can AS2DirectoryPollingModule run with as2-lib-spring-demo HOT 7
- Disposition isn't correct when using servlet HOT 14
- "Invalid HTTP Request" Error with Servlet-based Demo-Web-App HOT 8
- java.lang.IllegalStateException: unable to create shared stream: java.io.FileNotFoundException: /tmp/as2-lib-res-16551011638687829143.tmp (No such file or directory) HOT 7
- Spring boot: possible to make custom handler a spring managed bean? HOT 3
- partnership attribute: remove_cms_algorithm_protection_attrib HOT 2
- Error receiving from chunked transfer encoding HOT 11
- MIC calculation on outgoing AS2 is incorrect when using compress before signing HOT 9
- Question : Does AS2 includes standard HTTP headers and custom generated headers for communication between 2 systems interacting using AS2 protocol. HOT 1
- Cant' send files to distant client using "MainSendToMendelsonTestServer.java" HOT 2
- Trying to use RSASSA_PKCS1_V1_5_WITH_SHA3_256 signing alg results in IllegalArgumentException: Unknown signature type requested: RSASSAPSS HOT 13
- latest certificates from keystore is not fetching when service is running HOT 2
- Advice on creating documentation HOT 7
- Can't work with AS2 version 5.0 with bc-fips HOT 4
- NoClassDefFoundError: javax/mail/internet/MimeBodyPart HOT 2
- Private Key is Null for public key HOT 4
- bcMail temporary files not deleted when compression is used (as2-lib 5.1.2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as2-lib.