Gracias so much. That combination of escape and single quote did work. Thank you again. Peter
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Dombrowski Sent: Friday, January 12, 2007 9:19 AM To: [email protected] Subject: Re: [nyphp-talk] [OT] Using SCP to Transfer Files i would guess: scp file.php [EMAIL PROTECTED]:'somedir/filedir/files\&pics/file.php' single quotes to escape it for the local shell + backslash to escape it for the remote shell On 07-01-12 08:10 -0500, Peter Sawczynec wrote: > When using SCP to transfer a file that uses an ampersand in the full file > path name like so: > > somedir/filedir/files&pics/file.php > > ...the transfer fails because ampersand is a special command character to > the application. > How does one represent the ampersand in the file path so that SCP will > ignore it? > > Warmest regards, > > Peter Sawczynec > Technology Dir. > Sun-code.com > Web related services > 646.316.3678 > [EMAIL PROTECTED] > > _______________________________________________ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
