trying to setup a āremote_pathā: ā/ā, but keeps uploading all my local path ā/Users/blabla/project/deployā to remoteā¦what im missing ?
thx in advance
trying to setup a āremote_pathā: ā/ā, but keeps uploading all my local path ā/Users/blabla/project/deployā to remoteā¦what im missing ?
thx in advance
Hey!
i have one question about SFTP and FTP plugin āignore_regexā param. Is it possible, to ignore folder/subfolder/files with some extension?
For example:
I need to ignore all .xls files in this directory files/docs/
ignore_regex - files/docs - works for all files, but files/docs///.xls doesnāt.
P.s. iām not good on regex, so i think there should be some regex, for my problem
Any help is welcome! Thanks in advance
[quote=āelkraneoā]trying to setup a āremote_pathā: ā/ā, but keeps uploading all my local path ā/Users/blabla/project/deployā to remoteā¦what im missing ?
thx in advance[/quote]
What local folder do you have your sftp-config.json in? If you set the remote_path to /, your local path will be converted to / on the remote system. For example, if sftp-config.json is inside of /home/will/files/ and the remote path is /, then uploading /home/will/files/css/main.css will upload it to /css/main.css.
[quote=ākukuā]Hey!
i have one question about SFTP and FTP plugin āignore_regexā param. Is it possible, to ignore folder/subfolder/files with some extension?
For example:
I need to ignore all .xls files in this directory files/docs/
ignore_regex - files/docs - works for all files, but files/docs///.xls doesnāt.
P.s. iām not good on regex, so i think there should be some regex, for my problem
Any help is welcome! Thanks in advance [/quote]
The following takes the default ignore_regex and adds all .xls files inside of files/docs to the list:
"(files/docs/.*\\.xls|\\.sublime-project|\\.sublime-workspace|sftp-config(-alt\\d?)?\\.json|sftp-settings\\.json|/venv/|\\.svn|\\.hg|\\.git|\\.bzr|_darcs|CVS|\\.DS_Store|Thumbs\\.db|desktop\\.ini)"
Has anyone experienced an issue in OSX where SFTP seems to stop working after putting the MacBook to sleep? I canāt reproduce it every time, but it generally goes like this:
The quick panel opens, but no new āUploadingā¦ā line appears. Instead I just see the same log that was present before, and the quick panel never changes or closes. The file does not get uploaded either. The only way to āwake upā SFTP seems to be by quitting and reopening Sublime. (Is there a way I can try to manually restart just SFTP via the console?)
Is this the appropriate place to post feature requests? (Is there even an appropriate place for that? )
Iād love to be able to set up an āaliasā, so that when I try to upload:
~/project/less/styles.less
Instead, SFTP will upload:
~/project/css/styles.css
Currently, I only edit the LESS file (the CSS is auto-generated in the background) and it gets a bit tedious to manually open or locate the CSS file separately just to upload it. Obviously this could be extended to other languages and workflows (e.g., minified/concatenated versions of the file youāre editing, compiled versions of a file, etc).
[quote=ācraigpatikā]Has anyone experienced an issue in OSX where SFTP seems to stop working after putting the MacBook to sleep? I canāt reproduce it every time, but it generally goes like this:
The quick panel opens, but no new āUploadingā¦ā line appears. Instead I just see the same log that was present before, and the quick panel never changes or closes. The file does not get uploaded either. The only way to āwake upā SFTP seems to be by quitting and reopening Sublime. (Is there a way I can try to manually restart just SFTP via the console?)[/quote]
When you machine goes to sleep, most likely your SFTP session is being lost, but not properly closed. When you awaken your machine, it will try to send a command and likely will fail after the default timeout for sftp on your platform. You probably will want to cancel the operation and try again:
[quote=ācraigpatikā]Is this the appropriate place to post feature requests? (Is there even an appropriate place for that? )
Iād love to be able to set up an āaliasā, so that when I try to upload:
~/project/less/styles.less
Instead, SFTP will upload:
~/project/css/styles.css
Currently, I only edit the LESS file (the CSS is auto-generated in the background) and it gets a bit tedious to manually open or locate the CSS file separately just to upload it. Obviously this could be extended to other languages and workflows (e.g., minified/concatenated versions of the file youāre editing, compiled versions of a file, etc).[/quote]
You can certainly post items here, however things can slip by since there are no notification for this forum. If you email me at support@wbond.net, you can be sure to get a response.
The desired functionality you are looking for will be available soon, albeit implemented in a slightly different way. Iāve been working on getting file modification notifications working well with the SVN package, after which I plan to port that functionality to SFTP. This will allow the package to automatically upload all files when they change, rather than just files saved by Sublime.
Until then you can use the Monitor File (wbond.net/sublime_packages/sftp/ ā¦ nitor_File) command with the .less file open. This polls the file stats waiting for the modification time to change, after which it will be uploaded. Just be aware the file must remain open in Sublime for this to work.
[quote=āwbondā]
[quote=ācraigpatikā]Is this the appropriate place to post feature requests? (Is there even an appropriate place for that? )
Iād love to be able to set up an āaliasā, so that when I try to upload:
~/project/less/styles.less
Instead, SFTP will upload:
~/project/css/styles.css
Currently, I only edit the LESS file (the CSS is auto-generated in the background) and it gets a bit tedious to manually open or locate the CSS file separately just to upload it. Obviously this could be extended to other languages and workflows (e.g., minified/concatenated versions of the file youāre editing, compiled versions of a file, etc).[/quote]
Until then you can use the Monitor File (wbond.net/sublime_packages/sftp/ ā¦ nitor_File) command with the .less file open. This polls the file stats waiting for the modification time to change, after which it will be uploaded. Just be aware the file must remain open in Sublime for this to work.[/quote]
Yep, āmonitor fileā works perfectly for me in exactly the same situation - Iām editing less file, external app compiles it and then SFTP plugins uploads monitored *.css file.
Hei there!
Iāve been in some trouble getting the ignore_regex working, iām not that good with regex, though i guess this is fairly easy
My folder structure is pretty simple:
āmainfolder
|ācss
| |āsass
| | |āothersubfoldersā¦
| | |somefiles in sass folder, etcā¦
| |somefiles in css folder, etcā¦
|āotherfodlers
|āetcā¦
everything in the /sass folder and the folder itself should be ignored by sftp for uploading/syncing with SFTP (and btw thx a lot really for this plugin, the whole package and particularly the monitor-file are really awesome ).
Iāve tried also with the configuration suggested few posts above, specifing to exclude the .scss files, yet it keeps uploading/synging upon save and so onā¦
Thx for any help/suggestions! Cheers!
I canāt find the option to chmod files/folders, whilst browsing a server? I assumed it would be under Folder actions or in the File actions menu, though I canāt find it?
Thanks!
Chris Neal
Is possible to decide to not sync a single file after the check local->remote?
Any news about the sidebar option? Itās really annoying that you get go to another program to check something, and the FTP window disappears.
Sublime FTP plugin with remote browsing uses psftp to browse remote files, psftp ls command always lists file in long list mode which appendes * for executable files / for directories @ for link files the ls -F or --classify ) option. This does not allow remote browsing from the quick panel and downloading each file to local folder. I get a file not found error since the * is appended at the end. Not sure if any settings can be changed to disable this behavior. If anyone has any idea regarding this please do post a reply.
Canāt find in the doc, is there an option to launch some command after uploading?
I would like to change the owner of the just uploaded file.
Thank you
Hello,
Maybe it has already been answered, but there is 11 pages and i donāt speak english very wellā¦
How can i create one configuration file for each folder and it is automatically used ?
I work on many project at the same time, each one with its own FTP server, and i would like to be able to automatically send them on each server using the āupload_on_saveā setting.
But actually, when i map a folder to a FTP server, that menu doesnāt appear anymore for another folder which is not even on the same tree branch.
I saw i could use alternate remote mapping, but it seems like i have to switch everytime i work on a different project if i want to push the file on the good server.
Quite annoyingā¦
Did i miss something ?
Thanks.
Yann
Iām guessing itās not compatible with st3, right? All options in the sftp/ftp menus are grayed out. Any ETA on a compatible version?