java - How it is working bool = DBConnection.getFTPConnection().storeFile(hostDir, input); -


i using method store file.from computer server when use facing exception. 1. software caused connection abort: recv failed
2. software caused connection abort: socket write error
3. org.apache.commons.net.io.copystreamexception: ioexception caught while copying. don't how solve that. please me

try catch exception more details:

try {     bool result = dbconnection.getftpconnection().storefile(hostdir, input);     system.out.println("upload: " + result); } catch (copystreamexception ex) {     system.out.println("copystreamexception: " + ex.getmessage());     system.out.println("totaly transfered " + ex.gettotalbytestransferred() + " bytes.");     system.out.println("inner ioexception: " + ex.getioexception().getmessage()); } 

this can find cause of issue.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -