Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: How to create a file in other machine home directory with help of other host username and password or IP adress? Date: Thu, 14 Jun 2018 11:49:13 -0400 Organization: Aioe.org NNTP Server Lines: 24 Message-ID: References: <1ee9d152-0cad-4905-becf-13e5c30c5368@googlegroups.com> <7f51ae54-d418-435d-8e8b-134a27f7395b@googlegroups.com> NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: csiph.com comp.lang.java.programmer:38377 On 6/14/2018 11:01 AM, Martin Gregorie wrote: > Assuming that the target machine has an FTP server running, try > org.apache.commons.net.ftp.FTPClient > > from > > https://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/ > net/ftp/FTPClient.html > > or if it has sshd running, try Jsch from http://www.jcraft.com/jsch/ > > Disclaimer: I haven't used either of these packages, only looked at their > documentation. I have used FTPClient. It works fine. Note that FTP protocol send password ion clear text. Not good security. SFTP/FTPS is better in that regard. Arne