Revision history [back]

Run commands

When url contains space in the middle of the directory or the filename it is not able to execute it and not able to throw an any exception. It is getting success without any valid value. Same command we are able to get the expected output via Shell But not from Jython.

For Example : File Name will be like below

http://example.com/DIR 1/DIR 2/a bc.csv


I tried in below ways using Jython by replacing space with %20 or +. It doesn't work.

Is there any way to achieve this ?

Run commands

When url contains space in the middle of the directory or the filename it is not able to execute it and not able to throw an any exception. It is getting success without any valid value. Same command we are able to get the expected output via Shell But not from Jython.

For Example : File Name will be like below

http://example.com/DIR 1/DIR 2/a bc.csv


I tried in below ways using Jython by replacing space with %20 or +. It doesn't work.

Is there any way to achieve this ?

For Example : File Name will be like below