one verrrrrrrrry bad think about sublime is that it doesn't support FTP! there is a veeeeeeery complicated Plugin about SFTP. how can i install this only FTP plugin for Sublime?!
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
Press enter, it will enable package control.
Restart sublime
Go to Preferences - Package Control
type: Install package
type: SFTP
Open folder you want to use for FTP files.
Right click it - SFTP/FTP - Map To Remote - here's your config file.
or you can download archive and extract it to %appdata%/Sublime Text 2/Packages folder.
Okay, here's what you can do. If you don't really need package controll just download SFTP archive from their webpage and extract it to %appdata%/Sublime Text 2/Packages folder.
If you need package controll the only way you can install it is via git.
Here's what you need to do:
one verrrrrrrrry bad think about sublime is that it doesn't support FTP! there is a veeeeeeery complicated Plugin about SFTP. how can i install this only FTP plugin for Sublime?!
PS: are there any other FTP plugins for sublime?
Why it's complicated? I mean all you need is open config file, write
type - ftp or sftp
host - your ftp host
user - your ftp username
pw - your ftp password
path - what folder you want to take files from
And that's all. If you want upload files automatically after saving them, use "upload_on_save". I don't understand what can be easier? :)
thanks @DADE you are right but first you should install it! how can i install that? and where is config file?
open console (ctrl+~) and type:
Press enter, it will enable package control.
Restart sublime
Go to Preferences - Package Control
type: Install package
type: SFTP
Open folder you want to use for FTP files.
Right click it - SFTP/FTP - Map To Remote - here's your config file.
or you can download archive and extract it to %appdata%/Sublime Text 2/Packages folder.
thanks very much @DADE but here is my problems:
2.there is no Package Control item in Preferences
You are using Sublime 3? There won't be any package control button untill step 1 will be done.
did i mentione i use ST3?! yes i do use ST3! Sorry i forgot that
Okay, here's what you can do. If you don't really need package controll just download SFTP archive from their webpage and extract it to %appdata%/Sublime Text 2/Packages folder.
If you need package controll the only way you can install it is via git. Here's what you need to do:
ok, lots of bugs and bad support for ST3 i think i should install ST2 and use your instructions @DADE. thanks for your help. it was very helpful