on 07-20-2018 2:42 PM
Since project need, I need to make a cron job ftp send out a file to ftp server, so I need to import an third party lib, lets say apache common-nio for example, so what I should do?
Hi ,
In your custom extension , add the maven dependency in external-dependencies.xml and add the jar name in unmanaged-dependencies.txt file in your extension.
Thanks,
Venki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi If you wish not to use maven for your project, you can download the jar file. Go to the lib directory directly under your project and copy the jar file. Then, if you are using ee, right click on that jar file, a pop-up menu will open up, from the pop-up menu, hover over Build Path and click an 'Add to Build Path'.
Alternatively, if you wish to use spring integration to copy the file on the ftp server, please look at google-local-upload-spring.xml file in acceleratorservices extension. It uses spring integration for file uploads.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.