ftp and java

What's the easiest way to ftp a file in java?
dpalyca755Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
eemitConnect With a Mentor Commented:
0
 
dpalyca755Author Commented:
Can a straight operating system call be made?
0
 
CEHJConnect With a Mentor Commented:
You can use a very naive method with a URLConnection and a url of the form ftp://username:password@somehost/dir/file.txt and write to it, having called urlconn.setDoOutput(true);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.