Topic "WINSCP , wine and sublime Text"

Author Message
myalban

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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
myalban
[View user's profile]

Joined: 2015-09-21
Posts: 1
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


prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
Blacky
[View user's profile]

Joined: 2015-10-28
Posts: 1
Location: Romania
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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
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.
wulltd

Guest


Sorry! Ill send you an email with my address.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License