[nycphp-talk] [OT] Using SCP to Transfer Files
Peter Sawczynec
ps at pswebcode.com
Fri Jan 12 09:41:31 EST 2007
Gracias so much. That combination of escape and single quote did work.
Thank you again. Peter
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Kenneth Dombrowski
Sent: Friday, January 12, 2007 9:19 AM
To: talk at lists.nyphp.org
Subject: Re: [nycphp-talk] [OT] Using SCP to Transfer Files
i would guess:
scp file.php me at host:'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
> ps at sun-code.com
>
> _______________________________________________
> 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
More information about the talk
mailing list