Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

ftp and java

Posted on 2012-04-11
3
Medium Priority
?
254 Views
Last Modified: 2012-04-14
What's the easiest way to ftp a file in java?
0
Comment
Question by:dpalyca755
3 Comments
 
LVL 15

Accepted Solution

by:
eemit earned 750 total points
ID: 37832623
0
 

Author Comment

by:dpalyca755
ID: 37832692
Can a straight operating system call be made?
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 750 total points
ID: 37833932
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question