FTP upload on background change?
Moderators: Hacker, petermad, Stefan2, white
FTP upload on background change?
Hi,
This topic was last discussed around 2005. Has anything changed since?
I'm basically looking for functionality like FAR or WinSCP: Modify file in background, and have TC auto-upload it back to FTP.
I know there was a problem with tmp file handling etc, but if FAR and WinSCP can do it, I have no doubt TC can do it too... right?
This topic was last discussed around 2005. Has anything changed since?
I'm basically looking for functionality like FAR or WinSCP: Modify file in background, and have TC auto-upload it back to FTP.
I know there was a problem with tmp file handling etc, but if FAR and WinSCP can do it, I have no doubt TC can do it too... right?
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
The author is against that improvement due to not having a defined time to delete the temp-file that TC downloads.
Which makes FTP File editing thru TC nearly unusuable for me. As the Editors I would use, EmEditor or CodeLobster PHP are "Tab-Aware" Editors, and I am not going to close the Editor everytime I make a change - so that TC will recognize that change.
See FTP Editing online Files (Improvement).
Which makes FTP File editing thru TC nearly unusuable for me. As the Editors I would use, EmEditor or CodeLobster PHP are "Tab-Aware" Editors, and I am not going to close the Editor everytime I make a change - so that TC will recognize that change.
See FTP Editing online Files (Improvement).
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe you can use a different editor just for F4? The problem is that Windows doesn't report a process number when the file is passed to an already running editor, so TC cannot know when that editor is closed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I still don't understand why this feature is SUCH an issue to implement.
winscp, connects to a normal FTP, and IS ABLE to "edit" the file in real time.
All you have to do is just overwrite the file online SILENTLY once it's saved (track the date/time the file was last changed, or such)
ALL we need is the ability to click the file, hit F4, edit with whatever software is specified by us (notepad2, notepad++) and upon save, it overwrites silently the file online. DONE.
Edit:
i tested so many other ftp capable shell programs like Winscp, Explorer2 (can't remember all, used alternativeto.net to find them) and all work as expected.
winscp, connects to a normal FTP, and IS ABLE to "edit" the file in real time.
All you have to do is just overwrite the file online SILENTLY once it's saved (track the date/time the file was last changed, or such)
ALL we need is the ability to click the file, hit F4, edit with whatever software is specified by us (notepad2, notepad++) and upon save, it overwrites silently the file online. DONE.
Edit:
i tested so many other ftp capable shell programs like Winscp, Explorer2 (can't remember all, used alternativeto.net to find them) and all work as expected.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Did you test when they delete the edited file? This is the biggest unsolved problem. Auto-uploading when the file changes would be easy to add, but finding out when the user stops editing is impossible with multiple document editors.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author) wrote:Did you test when they delete the edited file? This is the biggest unsolved problem. Auto-uploading when the file changes would be easy to add, but finding out when the user stops editing is impossible with multiple document editors.
who will delete the edited file?
i am not sure the question is understood.
Regarding the file stops editing:
- every time a user saves the file (if it's multi document, or single document editor, he only saves one instance at the time), once saved, it's SILENTLY SAVED online too (no popups, no nothing)
- there is no editing for user monitoring, only an "open file + save" monitoring
- you should not care when he stops editing, when the file get's saved again, and if the connection timed out, silently you reconnect and save it.
- basically, the user will never see that the connection timed out. Now you are killing me/us with popups: Connection interrupted, Reconnect? (99.999% == YES).
i am no real developer, i am web developer, but i can give you an example:
- a synch tool like Syncplicty (totally recommended), it does not care with what editor, what is the client that edits the file. It only checks (with some file hooks as it has been explained to me) if the file was changed or not.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I understand that - but then the temporary file would never be deleted, so the TEMP folder would grow a lot over time...- there is no editing for user monitoring, only an "open file + save" monitoring
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
i could live with that
)
(i use CCLEANER almost only daily basis)
make it an option, like with a checkbox, or something, something that people need to enable and understand and done.
ps: how does winscp handle this? since it does this very good, probably it leaves the temp file as you say too, but, it's compromise i can and probably most users live with

(i use CCLEANER almost only daily basis)
make it an option, like with a checkbox, or something, something that people need to enable and understand and done.
ps: how does winscp handle this? since it does this very good, probably it leaves the temp file as you say too, but, it's compromise i can and probably most users live with
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
One ceaned---
2HolgerK
[mod]• “belly99” 's craps are removed and this account disabled. Thanks for the info !
- I'll look for the other ASAP.
Clo, moderator[/mod]
[mod]• “belly99” 's craps are removed and this account disabled. Thanks for the info !
- I'll look for the other ASAP.
Clo, moderator[/mod]
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Let's sum it up
What we need is:
1. Define custom editor for remote editing (it's possible now)
2. Define local temporal storage folder for edited files. If this is not set, then default /temp/ is used.
NO NEED to delete the temporal files each time the file is closed. Anyway we use other software to clean our system up.
THEN:
1. Open remote file with F4 in custom editor
2. Edit & Save file
3. File is saved in the background
It would be so great to have this feature implemented!
Can this be done in final version 8 ?
Thanks!
1. Define custom editor for remote editing (it's possible now)
2. Define local temporal storage folder for edited files. If this is not set, then default /temp/ is used.
NO NEED to delete the temporal files each time the file is closed. Anyway we use other software to clean our system up.
THEN:
1. Open remote file with F4 in custom editor
2. Edit & Save file
3. File is saved in the background
It would be so great to have this feature implemented!
Can this be done in final version 8 ?
Thanks!
i doubt it
this was requested toooo many times, noone cares about this
I am a webdeveloper, i use this feature at least 100 times / day, yes Ghisler & Co do not want to make us happy and add this feature.
What i also asked several times, not to shot the "Connection, lost, reconnect? Yes/No" YES YES YES, that is why i still use this panel, just do it silently and be over with it.
Yet, this feature seems also too complicated to code.
this was requested toooo many times, noone cares about this
I am a webdeveloper, i use this feature at least 100 times / day, yes Ghisler & Co do not want to make us happy and add this feature.
What i also asked several times, not to shot the "Connection, lost, reconnect? Yes/No" YES YES YES, that is why i still use this panel, just do it silently and be over with it.
Yet, this feature seems also too complicated to code.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I haven't found an easy way yet to add this.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
no one said that programming is easyghisler(Author) wrote:Sorry, I haven't found an easy way yet to add this.

don't take it personally, not intended, i appreciate all the hard work, and total commander is why i am not on a Mac already.
But editing hundreds of files online, doing maintenance it's veeery annoying to work as it currently works.
- connection lost?
- reconnect silently once panel gets focus (this i think is SUPER easy to implement)
- edit file?
- once save, upload it silently (500ms seconds after save)
- do not care about the cache, really, do not, i will clear it.
(people who do dev, are pretty tech savy they know how to clear the temp folder)
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I've been using BitKinex and WinSCP (although it seems buggy). EmFTP is missing a few too many features, and I haven't tried FileZilla yet.
Although, All of them support remote file-editing, save and silent-upload of modified file, without the need of closing your editor.
I've also been editing right in CPANEL with the new-ish javascript (code-highlighted) editor in the browser.
Unfortunately, it doesn't seem like any of them will save the "temp file" to a relative path, thus if you are editing 2 different files that have the same name - you will wind up overwriting the local "temp" copy. Which means you really can't edit 2 similiarly named files at the same time.
Although, All of them support remote file-editing, save and silent-upload of modified file, without the need of closing your editor.
I've also been editing right in CPANEL with the new-ish javascript (code-highlighted) editor in the browser.
Unfortunately, it doesn't seem like any of them will save the "temp file" to a relative path, thus if you are editing 2 different files that have the same name - you will wind up overwriting the local "temp" copy. Which means you really can't edit 2 similiarly named files at the same time.