in reply to how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)

I am getting the following error in windows when i try to run it through command prompt. In the host i have given the corresponding host name and other credentials. The error is as follows

C:\temp\perl_test\mahe>perl mah.pl Unrecognized escape \m passed through at mah.pl line 13. Having no space between pattern and following word is deprecated at mah.pl line 31. Bareword found where operator expected at mah.pl line 31, near "/export/home" (Missing operator before home?) Backslash found where operator expected at mah.pl line 31, near "perl_test\" Global symbol "$stfp" requires explicit package name at mah.pl line 20. syntax error at mah.pl line 24, near "/," syntax error at mah.pl line 31, near "/export/home" Execution of mah.pl aborted due to compilation errors.

  • Comment on Re: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)

Replies are listed 'Best First'.
Re^2: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)
by salva (Canon) on Apr 21, 2014 at 13:01 UTC
    If you want to put windows paths as for instance c:\foo\bar inside double quotes, you have to escape the backslashes ("c:\\foo\\bar").