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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -