Home Download Buy Blog Forum Support

WinSCP "Integration"

WinSCP "Integration"

Postby bmidget on Thu Oct 15, 2009 10:16 pm

The 1.2 features announcement includes WinSCP Integration, though I haven't seen any documentation or settings anywhere that actually do this.

Can someone help?
bmidget
 
Posts: 2
Joined: Thu Oct 15, 2009 10:14 pm

Re: WinSCP "Integration"

Postby jps on Fri Oct 16, 2009 10:44 am

You can use Sublime Text as WinSCPs editor by choosing it in WinSCPs preferences (under the 'Editors' section). You'll need to check the 'External editor opens multiple files in one window (process)' checkbox.

Some other options for working with files via SFTP are mentioned at viewtopic.php?f=4&t=674&start=0
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: WinSCP "Integration"

Postby bmidget on Fri Oct 16, 2009 7:33 pm

Eek that's what I was afraid I'd learn.

Too bad, too, because I really really love the editor but that's just a deal-breaker for me. I'm so used to Coda's built-in ftp that it's difficult to leave it.
bmidget
 
Posts: 2
Joined: Thu Oct 15, 2009 10:14 pm

Re: WinSCP "Integration"

Postby EJ12N on Sun Oct 18, 2009 4:18 am

bmidget wrote:Eek that's what I was afraid I'd learn.

Too bad, too, because I really really love the editor but that's just a deal-breaker for me. I'm so used to Coda's built-in ftp that it's difficult to leave it.


If u open any file in winscp with sublime as soon as you hit save it gets uploaded, and u can keep the file open for as long as you want and it'll get uploaded on every change. Is good for making quick changes or when u have no option but to work on live server >.<
I don't see how is a deal breaker :?
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: WinSCP "Integration"

Postby SteveCooperOrg on Mon Oct 19, 2009 10:04 am

The difference is not being able to use File | Open to open a remote file, which means you don't need to switch out to winscp to find your file. That would definitely be a more integrated, elegant way of opening remote files. That said, driving it from winscp really isn't a particular hardship, but having also used editors that do have it native, I can see the desire for it as an integrated feature.

We've gone through something similar at work, where we provide the ability to read FTP and WebDAV as though they were local files. It's a hairy area, because as soon as you add "File | Open FTP..." to a menu, people expect to be able to do everything they can do with local files with remote files. So, people would expect projects to index FTP servers, and auto-reload when a file changes on the FTP server, and so on.

This opens up a whole mass of possible 'file providers', though -- if jon writes FTP, why not WebDAV? Personally, if there were some custom interface available, I'd be tempted to do one for wikis, so that you could open a wiki page as a file. It's a surprisingly large amount of work to do it 'right'.
Maybe what you're looking for is at the http://www.sublimetextwiki.com
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am

Re: WinSCP "Integration"

Postby EJ12N on Mon Oct 19, 2009 3:21 pm

SteveCooperOrg wrote:The difference is not being able to use File | Open to open a remote file, which means you don't need to switch out to winscp to find your file. That would definitely be a more integrated, elegant way of opening remote files. That said, driving it from winscp really isn't a particular hardship, but having also used editors that do have it native, I can see the desire for it as an integrated feature.

We've gone through something similar at work, where we provide the ability to read FTP and WebDAV as though they were local files. It's a hairy area, because as soon as you add "File | Open FTP..." to a menu, people expect to be able to do everything they can do with local files with remote files. So, people would expect projects to index FTP servers, and auto-reload when a file changes on the FTP server, and so on.

This opens up a whole mass of possible 'file providers', though -- if jon writes FTP, why not WebDAV? Personally, if there were some custom interface available, I'd be tempted to do one for wikis, so that you could open a wiki page as a file. It's a surprisingly large amount of work to do it 'right'.


I understand that, but I rather have sublime do 1 GREAT thing (powerful text editing) that try to do everything that others editors do and do it miserably, which is the case for many editors out there...
WinSCP is a great program (I use totalcmd now for FTP tho), if a simple alt+tab or switching to it is too painful then I don't really see how is a sublimetext problem but rather a user's preference problem.

and Like you said, it just brings more bugs to the table :P
If it's a plugin I'm all for it, built-in, no thx. keep it simple :D
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: WinSCP "Integration"

Postby vim on Mon Oct 19, 2009 3:42 pm

i too support the unix approach, i.e. one tool for each task. imo, if you start doing too much in one program/solution you end up with actually limiting the user. this is why i don't use IDEs at all. i like to choose what i like, for every task.
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: WinSCP "Integration"

Postby SteveCooperOrg on Mon Oct 19, 2009 9:23 pm

Winscp is scriptable, meaning that a plugin is possible. Opening and saving to ftp could be integrated.
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am

Re: WinSCP "Integration"

Postby gpfsmurf on Tue Oct 20, 2009 10:43 pm

WinSCP scripting:
Code: Select all
"C:\Program Files\WinSCP3\winscp" /script
open "mySavedSessionName"
get /export/home/myuser/mytestfile.txt c:\localFolder\
keepuptodate c:\localFolder /export/home/myuser
<hit Ctrl-C when done>
exit


If you know the file path/name that you want to edit, this would be simple enough to integrate in a plugin, except maybe the Ctrl-C part
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: WinSCP "Integration"

Postby elrom on Wed Oct 21, 2009 1:31 am

SteveCooperOrg wrote:Winscp is scriptable, meaning that a plugin is possible. Opening and saving to ftp could be integrated.

Sublimator..? :D
elrom
 
Posts: 10
Joined: Sun Oct 18, 2009 4:08 am

Next

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 24 guests