Re: problems using scp on Windows

[email protected] Fri, 16 Dec 2005 10:45:42 -0600 (CST)
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Hi Bram,

Thank you for your reply. The problem of mixed slashes occurs in
Remote.py:upload_file. The 'to_file' variable gets modified with the
os.path.join function. This clearly goes awry when the forward slashes
used by scp get combined with the backward slashes used by Windows.

But sadly, even after I fix this, scp complains about illegal characters
in the username being sent. I've elected to do the upload manually to get
around this problem. Yes, it defeats the purpose of using aap but the
files I want to transfer are few in number so this should work in the
short run.

>
>
> You are apparently using version 1.082, thus you already have the recen=
t
> fix for recognizing URLs.
>
> Is the problem that a backslash is used in this command:
>
>> Aap: Uploading ['styles\\homepage.css'] to
>> scp://[email protected]/public_html/styles\homepage.css
>> Aap: {interactive} "c:\Program Files\aap\Exec\aap-1.082\bin\scp.exe" -=
p
>> 'G:\web\prep\styles\homepage.css'
>> '[email protected]:public_html/styles\homepage.css'
>
> Can you try (manually) what path does work?  Problem is that with DOS
> commands sometimes backwards slashes are required and sometimes forward
> slashes.  A mix like here probably doesn't work...
>
> --
> The war between Emacs and Vi is over.  Vi has won with 3 to 1.
> 			http://www.ssc.com/lg/issue30/raymond.html
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
> \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor=
/
> \\\
> \\\        download, build and distribute -- http://www.A-A-P.org
> ///
>  \\\            help me help AIDS victims -- http://www.ICCF.nl
> ///
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> _______________________________________________
> A-A-P-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/a-a-p-user
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick