[nycphp-talk] [OT] Using SCP to Transfer Files
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
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:
> ...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.
> Web related services
> ps at sun-code.com
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP
New York PHP Community Talk Mailing List
NYPHPCon 2006 Presentations Online
Show Your Participation in New York PHP
More information about the talk