WINSCP , wine and sublime Text

Advertisement

myalban
Guest

WINSCP , wine and sublime Text

Hi,
I really love WINSCP and it's clearly the best for me.
Now I'm on MAC and I can't find better than it.
So I use it with wine and it works perfectly
But I got some trouble when I try to edit a file with external editor : Sublime text.
When I save the file, it was not uploaded to the server.

File is updated on the temp folder :

MacBook-Pro:brindos alban$ ls -l
total 24
-rw-r--r-- 1 alban staff 10025 19 sep 22:41 brindos.css
MacBook-Pro:brindos alban$ ls -l
total 24
-rw-r--r-- 1 alban staff 10027 20 sep 16:53 brindos.css
MacBook-Pro:brindos alban$


but never uploaded.

To load external editor and because I need to rewrite the path to be unix compatible, I use this bash script :

#!/bin/sh
path="`wine winepath -u "$1"`"
"`/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -w "$path"`"
exit 1

It works perfectly.
File is correctly opened in sublime text and saved....but WINSCP never upload it.

I know you don't support MAC but I really want to use it.
So if you can help me to solve this issue....


Thanks
best regards

Reply with quote

Advertisement

myalban
Joined:
Posts:
1

Re: WINSCP , wine and sublime Text

Hi,

In fact it works fine if I use the internal editor but only fail to automatically upload if I use external editor with the bash script.
I think the bash script is the reason of this failure but I don't know how to do without.

Thanks


martin wrote:

Thanks for your report.

I wonder if wine does even support change notifications. Can you try the Keep remote directory up to date function?
https://winscp.net/eng/docs/task_keep_up_to_date

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: WINSCP , wine and sublime Text

I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

Blacky
Joined:
Posts:
1
Location:
Romania

Same issue

Hi,

I am also using WinSCP on OSX via Wine.
I am using notepad++ as an external editor also via Wine.

Everything works great except for the automatic upload. I wish this could be fixed.

Thank you!

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Same issue

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

wulltd
Guest

Hello! Has there been any progress?
I am facing the same problem. I could try out your beta app and see if I get results.

Dag

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

chris88g4
Guest

Mac wine and winscp

Hello , i am having the same problem, i am using Wine and notepad++. I successfully configured the winscp to open the notepad++ when i edit something but, when i save the changes never being uploaded on the remote server. If i choose internal editor from the winscp is working perfectly.

Is there any suggestion please?

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Mac wine and winscp

chris88g4 wrote:

Hello , i am having the same problem, i am using Wine and notepad++. I successfully configured the winscp to open the notepad++ when i edit something but, when i save the changes never being uploaded on the remote server. If i choose internal editor from the winscp is working perfectly.

Is there any suggestion please?
I believe we are already discussing this over an email.

Reply with quote

Advertisement

You can post new topics in this forum