Not able to execute Unix commands containing variables using JSch library
问题 I have written a Java program which when executed would open an upload wizard through which a user can select a file. After doing this, the selected file would be transferred/uploaded to a Unix box to a directory which the user specifies and processed further. Here are the steps/actions: Browse the file through the upload wizard After this the program would prompt for a new directory to be created, the name of which the user can give as an input The program creates a new directory (source)