ftp and java

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

Improve company productivity with a Business Account.Sign Up

eemitConnect With a Mentor Commented:
dpalyca755Author Commented:
Can a straight operating system call be made?
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);
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.