Quote:
system("/home/sandy/sftp2.sh y");
The above line passes the letter '
y
' as argument to the script while you probably want to pass the
y
variable value, namely the
"123456789.111"
string.
However, I wonder why don't you write directly
system("/home/sandy/sftp2.sh 123456789.111");
?