@Laurent1 (installProg) You will need to include an xml element such as this:
<req-permission> <name>NETWORK_COMMUNICATION</n <purposeKey>This module needs to perform FTP because.........</purposeKey> <parameters> <!-- The hosts to/from which we can open/accept a connection, you may use * or *.something or a specific ip address, make as specific as you can--> <parameter name="hosts" value="127.0.0.1"/> <!-- A comma-separated list of the ports over which we can connect to the host --> <parameter name="ports" value="21"/> </parameters> </req-permission>
See the doc developer help for further guidance on requesting module permissions, including which others are available, and all the different parameters for the NETWORK_COMMUNICATION permission:
module://docDeveloper/doc/secu
|
Replying to |
Library Standart Java equivalent Library Niagara Hi I want to send a file by FTP in Java I found an open-source program (https://github.com/
Here are the libraries below: import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.net.ConnectException; import java.net.Inet4Address; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; import java.util.Scanner;
Can we have the name of the library equivalents for niagara in javax.baja.xxx
Thank you for your help.
|
|
댓글 없음:
댓글 쓰기