all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rpd <richard@dickinson350.freeserve.co.uk>
To: Help-gnu-emacs@gnu.org
Subject: Re: Help to connect to & view ftp server directory/files
Date: Sat, 29 Aug 2009 15:23:53 -0700 (PDT)	[thread overview]
Message-ID: <25206870.post@talk.nabble.com> (raw)
In-Reply-To: <25206423.post@talk.nabble.com>


Hi all

I am now able to use Tramp to access my server remote files but cannot get a
shortcut to work with it (like the ftp example Jean showed in a prior post)

Currently I have this:

(defun scut ()
"Connexion ssh avec junon dans emacs"
(interactive)
(Tramp "/ssh:<username>@<host>:~/")
)

While I might be able to find and figure out what is needed for this to work
I would be very grateful for help from anyone who knows what is needed now
to get this to work!
I look forward to helpful replies, regards & best wishes


rpd wrote:
> 
> Hi Jean
> 
> Nice one! (I should have figured something out like that myself really!).
> Thanks a lot for your reply with that helpful shortcut.
> 
> I am now trying to use Tramp (& ssh) to connect to server but haven't got
> that working yet!
> 
> Best wishes
> 
> 
> Jean Magnan de Bornier wrote:
>> 
>> rpd <richard@dickinson350.freeserve.co.uk> wrote :
>> 
>> | Many thanks for your very helpful reply. I followed your advice & dl
>> the ftp
>> | for win32 exe file & added the code to .emacs & put the path to to the
>> .exe
>> | in Path env and I can now access the server files!
>>>
>> | (is there anyway to make a shortcut code to access the server more
>> | directly?).
>> 
>> I have this in my .emacs
>> 
>> (defun cez ()
>> "Connexion ftp avec junon dans emacs"
>> (interactive)
>> (find-file "/ftp:<username>@<servername>:~/")
>> )
>> 
>> Then:
>> 
>> M-x cez
>> 
>> et voilà!
>> 
>> And you can also store your password in a file, so tramp won't ask you
>> every time.
>> 
>> cheers,
>> -- 
>> Jean
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-to-connect-to---view-ftp-server-directory-files-tp25196906p25206870.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





  reply	other threads:[~2009-08-29 22:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5600.1251493297.2239.help-gnu-emacs@gnu.org>
2009-08-29  0:35 ` Help to connect to & view ftp server directory/files A.Politz
2009-08-29  8:47   ` rpd
2009-08-29 10:45     ` rpd
     [not found]     ` <mailman.5624.1251542733.2239.help-gnu-emacs@gnu.org>
2009-08-29 11:41       ` Xavier Sanchez
2009-08-29 17:51         ` rpd
     [not found]         ` <mailman.5629.1251568328.2239.help-gnu-emacs@gnu.org>
2009-08-29 18:51           ` Jean Magnan de Bornier
2009-08-29 21:21             ` rpd
2009-08-29 22:23               ` rpd [this message]
2009-08-30  8:23                 ` Michael Albinus
2009-08-30 10:30                   ` rpd
2009-08-30 15:17                     ` Michael Albinus
     [not found]                   ` <mailman.5657.1251628222.2239.help-gnu-emacs@gnu.org>
2009-08-30 12:52                     ` Jean Magnan de Bornier
     [not found]               ` <mailman.5640.1251584643.2239.help-gnu-emacs@gnu.org>
2009-08-30  8:10                 ` Jean Magnan de Bornier
2009-08-28 21:01 rpd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25206870.post@talk.nabble.com \
    --to=richard@dickinson350.freeserve.co.uk \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.