busybox - how I choose between FTPclient in java vs linux binary ftpget to download file from ftpserver -


i want download file ftp server have 2 ways 1)using ftpclient in java using commons-net-3.0.1.jar 2)linux binary ftpget of busybox

now want know utilities should use in application? mean parameter should have consider while selection right method download file ftp

that depends on requirements; there can't "generic" answer here.

if using java library, have more control on whole "process" (you can call methods using known types, stuff that).

if calling binary host operating system, means have dependency towards element harder control 3rd party java library.

in both situations, have different sets of dependencies, application has check in end (and might easier ship java application version of apache commons library; versus making sure got specific ftp binary on customer systems).


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -