in reply to Re^3: Unable to connect to some SFTP servers using Perl::SFTP
in thread Unable to connect to some SFTP servers using Perl::SFTP
I enabled forks as follows by using system call to create a new terminal to run each ftp/sftp connection in a seperate perl script. It's able to execute but I am having issues when my parameters(@fields) contain bracket. I am not able to pass parameters which contains bracket.
Error msgunless (fork()) { system("xterm -T $fields[0] -e \.\/uploader\.pl $index @field +s"); exit(0); }
After executing the window closes automaticaly. Is there a way to make it halt until the user press a key to exit or so. I tried to have a <> at the end of the uploader script. But doesn't helpsh: syntax error at line 1: `(' unexpected
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Unable to connect to some SFTP servers using Perl::SFTP
by skylinedreamer (Novice) on Apr 12, 2013 at 03:03 UTC | |
by salva (Canon) on Apr 12, 2013 at 07:56 UTC | |
by skylinedreamer (Novice) on Apr 12, 2013 at 09:56 UTC | |
by skylinedreamer (Novice) on Apr 12, 2013 at 10:00 UTC | |
by skylinedreamer (Novice) on Apr 15, 2013 at 02:36 UTC |
In Section
Seekers of Perl Wisdom