Hi Through shell script we put a file on remote sever. After putting file on that server it goes into inbox folder and it appends a hash code to file name. So when getting back the same file from inbox folder it is giving me following error. [COLOR="Red"] /inbox/TESTFILE*: No such file or directory.[/COLOR] Here is my script [COLOR="Green"][CODE] #!/bin/sh FTP_USER='abhay' FTP_PASS='amp123' FILE_NAME="TESTFILE" /usr/kerberos/bin/ftp -vni 192.168.1.322 <<EOC user $FTP_USER $FTP_PASS put $FILE_NAME cd inbox mget TESTFILE* quit bye EOC [/CODE] [/COLOR] So please help me regarding this. Thanks Abhay

Member Avatar
Member Avatar
+0 forum 3

Hi I want to return a value from shell script to java code? That value may be a file name or any string. Is it possible? If yes, then how to do it? Can I get any steps or API's for that. Thanks Abhay

Member Avatar
Member Avatar
+0 forum 2

The End.