I want invoke my .NET assembly from snmp agent and return an XML document to the agent in order to transmit that XML file to the server (开发者_运维问答manager).
Can I use SNMP to transmit big files to the manager?
The max size of an SNMP PDU is 64k (i.e. the max size of a UDP datagram). Some implementations may have smaller limits. Some networks will not pass large datagrams cleanly (they may get fragmented and not reliably reassembled).
You don't want to transfer a file through SNMP. Use a more suitable protocol: TFTP, FTP, HTTP, SCP all come to mind, depending on the needs of your application.
精彩评论