I am migrating scripts from UNIX server to a Linux. In the perl script it calls rcp to transfer files. It worked ok in UNIX but not in Linux, which has scp, I dont want to do scp now as this is a temporary Linux Box I am using.
I wrote an ftp script to do the work which rcp was doing in UNIX so it would work in Linux. Testing the stand alone ftp works ok, call it within the perl script and it doesn't work
I have tried
system("ftpscript";
exec("./ftpscript");
system("./ftpscript";
ok whats another way to call a shell script within perl. I dont get any error messages. Destination directory does not contain any files.