| Author |
FTP upload with Commons.net got exception
|
mandlar suurla
Ranch Hand
Joined: Jun 11, 2008
Posts: 67
|
|
Problem is here when i am trying to upload it gives me exception
|
 |
mandlar suurla
Ranch Hand
Joined: Jun 11, 2008
Posts: 67
|
|
|
Dont look the first if statement block i use the second one, plain file upload.
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
Do you ever check the return code from the connect or invoke disconnect() like it tells you to do in the javadoc?
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
mandlar suurla
Ranch Hand
Joined: Jun 11, 2008
Posts: 67
|
|
|
no, but i will do that. Yeah the problem answer is really easy, my friend, google helped me out got this article http://cephas.net/blog/2004/05/27/commons-net-ftp-and-active-vs-pasv-connections/. But yes i dont know how the FTP really works, i used wiki but all the contents are so separated. Anyone has good guides for FTP, workflow with commands ?
|
 |
 |
|
|
subject: FTP upload with Commons.net got exception
|
|
|