Difference between Save or Save to FTP/SFTP - what is better?

37 views
Skip to first unread message

Omar KN

unread,
Feb 14, 2022, 10:36:42 AM2/14/22
to BBEdit Talk

Not quite sure the difference between Save or Save to FTP/SFTP or Save a Copy to FTP/SFTP Server.

In my case, I don't care about preserving its line endings,

I just want to **keep the file version which I just edited on my hard drive and also on the server.**

Up to now, I have used the Save a Copy to FTP/SFTP Server, but the Save to FTP/SFTP works fine also.

- - - 

 In the user guide it says:

When you save a file to an FTP or SFTP server using either Save or Save to FTP/SFTP Server, and the file has Unix (LF) or Windows (CR+LF) line endings, BBEdit uploads the file in binary mode, preserving its line endings exactly as they are on your local machine. However, if the file has Macintosh (CR) line endings, it is uploaded in text mode so that the server can convert the line endings as appropriate. 

Finally, you can use Save a Copy to FTP/SFTP Server to upload a copy of your current file to an FTP server while keeping your local file open. This is especially useful when you maintain website content on your local hard drive and only need to upload changes made in one or two files to the server. 

Rich Siegel

unread,
Feb 14, 2022, 12:17:41 PM2/14/22
to BBEdit Talk
On 14 Feb 2022, at 10:36, Omar KN wrote:

> Not quite sure the difference between Save or Save to FTP/SFTP or Save a
> Copy to FTP/SFTP Server.

In a nutshell:

- "Save to FTP/SFTP Server" is like Save As: after the operation is completed,
the file's location is changed, and further changes are saved in the new location (on the server).

- "Save a Copy to FTP/SFTP Server" uploads a *copy* of the file's current contents,
and the file's location is not changed; so further changes are saved in the same location.

> I just want to **keep the file version which I just edited on my hard drive
> and also on the server.**

It sounds like "Save a Copy to FTP/SFTP Server" will do what you need.

R.

--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.
Reply all
Reply to author
Forward
0 new messages