Creating nested directories on server using JSch in Java
问题 I am making an application for file uploading in Java using jSch . I want to put my file in different directories based on their creation date etc. I have a main directory "/var/local/recordingsbackup/" in which I am creating other directories and putting data in them. To achieve this: I have to create Dir'y like "/var/local/recordingsbackup/20140207/root/SUCCESS/WN/" and put data in it. I've tried this so far: private void fileTransfer(ChannelSftp channelTarget, temp_recording_log recObj,