Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Script to Save to SFTP Server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kyle Katarn  
View profile  
 More options Sep 7 2011, 6:57 pm
From: Kyle Katarn <der...@gmail.com>
Date: Wed, 7 Sep 2011 15:57:45 -0700 (PDT)
Local: Wed, Sep 7 2011 6:57 pm
Subject: Script to Save to SFTP Server
I am trying to come up with a script to save my local file to a remote
server without having to type the password in each time. I tried doing
this by having the script open the file in Interarchy, but for some
reason this does not work:

tell application "BBEdit"
        save front document
        set thefile to file of front document
end tell

tell application "Interarchy"
        open thefile
end tell

Has anyone come up with a script that would quickly save something to
a remote server (either completely within BBEdit or not)?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kerri Hicks  
View profile  
 More options Sep 7 2011, 8:29 pm
From: Kerri Hicks <kerri.hi...@gmail.com>
Date: Wed, 7 Sep 2011 17:29:33 -0700 (PDT)
Local: Wed, Sep 7 2011 8:29 pm
Subject: Re: Script to Save to SFTP Server

On Sep 7, 6:57 pm, Kyle Katarn <der...@gmail.com> wrote:

> I am trying to come up with a script to save my local file to a remote
> server without having to type the password in each time.

Does File -> Save to FTP/SFTP Server do what you want? If the password
is stored in the System Keychain, you shouldn't have to continually
type it in.

--Kerri


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kyle Katarn  
View profile  
 More options Sep 7 2011, 8:35 pm
From: Kyle Katarn <der...@gmail.com>
Date: Wed, 7 Sep 2011 17:35:35 -0700 (PDT)
Local: Wed, Sep 7 2011 8:35 pm
Subject: Re: Script to Save to SFTP Server
Unfortunately, Save to FTP/SFTP Server keeps asking me for my password
every time I select it. I cannot find a way around this, and I even
did Keychain First Aid in Keychain Access. I was hoping to find a
quick way to upload to the SFTP server without having to type in a
password every time.

On Sep 7, 5:29 pm, Kerri Hicks <kerri.hi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rod Buchanan  
View profile  
 More options Sep 8 2011, 10:00 am
From: Rod Buchanan <rodb.i...@gmail.com>
Date: Thu, 8 Sep 2011 09:00:58 -0500
Local: Thurs, Sep 8 2011 10:00 am
Subject: Re: Script to Save to SFTP Server
On Sep 7, 2011, at 7:35 PM, Kyle Katarn wrote:

> Unfortunately, Save to FTP/SFTP Server keeps asking me for my password
> every time I select it. I cannot find a way around this, and I even
> did Keychain First Aid in Keychain Access. I was hoping to find a
> quick way to upload to the SFTP server without having to type in a
> password every time.

> On Sep 7, 5:29 pm, Kerri Hicks <kerri.hi...@gmail.com> wrote:
>> On Sep 7, 6:57 pm, Kyle Katarn <der...@gmail.com> wrote:

>>> I am trying to come up with a script to save my local file to a remote
>>> server without having to type the password in each time.

I do this all day/every day.  Create a bookmark for the server (BBEdit -> Setup -> Bookmarks), specifying your username/password and you should be good to go.

--
Rod


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Lanxner  
View profile  
 More options Sep 8 2011, 2:55 pm
From: Ken Lanxner <k...@simplelives.com>
Date: Thu, 8 Sep 2011 11:55:22 -0700
Local: Thurs, Sep 8 2011 2:55 pm
Subject: Re: Script to Save to SFTP Server
rodb.i...@gmail.com (Rod Buchanan) wrote on  9/8/11  7:00 AM

>> I am trying to come up with a script to save my local file to a
>> remote server without having to type the password in each time.

>I do this all day/every day.  Create a bookmark for the server (BBEdit
>-> Setup -> Bookmarks), specifying your username/password and you
>should be good to go.

I see the same thing as Kyle, the original poster. Could the
difference be how different servers authenticate?

If I save a particular document to a server, it asks for the
password first time but not for future saves of that same
document during that session. But as soon as I try to save
another document to the same server, I need to re-enter my password.

This happens with bookmarked servers.

However, this is not a problem for me because I use Transmit for
my FTP client and with an applescript provided by some kind soul
here, a key command will upload my current document to the server.

Also, I have found that opening a new FTP browser to the server
and leaving it open takes care of the problem and I can save to
that server without having to enter a password.

Ken

--
Simple Lives Web Design
http://simplelives.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rod Buchanan  
View profile  
 More options Sep 8 2011, 4:11 pm
From: Rod Buchanan <rodb.i...@gmail.com>
Date: Thu, 8 Sep 2011 15:11:12 -0500
Local: Thurs, Sep 8 2011 4:11 pm
Subject: Re: Script to Save to SFTP Server
On Sep 8, 2011, at 1:55 PM, Ken Lanxner wrote:

> rodb.i...@gmail.com (Rod Buchanan) wrote on  9/8/11  7:00 AM

>>> I am trying to come up with a script to save my local file to a
>>> remote server without having to type the password in each time.

>> I do this all day/every day.  Create a bookmark for the server (BBEdit
>> -> Setup -> Bookmarks), specifying your username/password and you
>> should be good to go.

> I see the same thing as Kyle, the original poster. Could the difference be how different servers authenticate?

Maybe.  I deal exclusively with Linux and AIX servers and the above works for me.  Also works to my Mac Mini web server (vis SFTP).  On any given day I'll save files to any of 50+ servers.  If I had to enter a password each time I saved a file I'd go nuts. :)

> Also, I have found that opening a new FTP browser to the server and leaving it open takes care of the problem and I can save to that server without having to enter a password.

I use FTP browsers occasionally, but mostly I'm using "File -> Save (a Copy) to FTP/SFTP Server…"

--
Rod Buchanan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Lanxner  
View profile  
 More options Sep 8 2011, 4:34 pm
From: Ken Lanxner <k...@simplelives.com>
Date: Thu, 8 Sep 2011 13:34:39 -0700
Local: Thurs, Sep 8 2011 4:34 pm
Subject: Re: Script to Save to SFTP Server
rodb.i...@gmail.com (Rod Buchanan) wrote on  9/8/11  1:11 PM

>leaving it open takes care of the problem and I can save to that
>server without having to enter a password.

>I use FTP browsers occasionally, but mostly I'm using "File -> Save (a
>Copy) to FTP/SFTP Server…"

Yeah, the FTP browser is just to keep the connection open so the
password isn't required each time.

I also upload to UNIX servers mostly.

Ken

--
Simple Lives Web Design
http://simplelives.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philippe Martin  
View profile  
 More options Sep 8 2011, 5:09 pm
From: Philippe Martin <f...@macrobyte.net>
Date: Thu, 8 Sep 2011 23:09:26 +0200
Local: Thurs, Sep 8 2011 5:09 pm
Subject: Re: Script to Save to SFTP Server
I use to put in projects the files I have on FTP servers, and I'm never prompted for a password, whether I reopen or save them.

I start by saving the files to FTP for the first time from BBEdit, then I close their local versions, open the FTP versions via BBEdit's FTP browser, then drop their proxy icons into a local project, and that's it. From then on, all I have to do to open one of these files is to open the project and select the file in the sidebar. And I just have to press cmd-S to save my changes directly on the FTP.

These are UNIX servers too, BTW.

Philippe

On 8 sept. 2011, at 22:34, Ken Lanxner wrote:

______________________________________________________________________
 Philippe MARTIN                
 http://flip.macrobyte.net

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rod Buchanan  
View profile  
 More options Sep 8 2011, 5:21 pm
From: Rod Buchanan <rodb.i...@gmail.com>
Date: Thu, 8 Sep 2011 16:21:41 -0500
Local: Thurs, Sep 8 2011 5:21 pm
Subject: Re: Script to Save to SFTP Server
On Sep 8, 2011, at 3:34 PM, Ken Lanxner wrote:

> rodb.i...@gmail.com (Rod Buchanan) wrote on  9/8/11  1:11 PM

>> leaving it open takes care of the problem and I can save to that
>> server without having to enter a password.

>> I use FTP browsers occasionally, but mostly I'm using "File -> Save (a
>> Copy) to FTP/SFTP Server…"

> Yeah, the FTP browser is just to keep the connection open so the password isn't required each time.

I should make it clear that I do need to login to the servers, I just don't need to enter passwords.

--
Rod Buchanan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »