FTP and managing local files - connect local and server files?
-
In looking for an alternative to Dreamweaver I discovered that Notepad++ can be used as an FTP server with the nppFTP plugin. I have that setup and works fine, but the problem is I edit local webpages stored on my computer using a WYSIWYG website editor. Following that I need to do a little bit of code editing before uploading it to the server.
So what I need to be able to do is connect the local folder with the server folder, so that when I edit the local page and save it, I can then upload to the server and REPLACE the file that’s already on the server. If I simply upload the edited local file it just copies the new file with a different name (adding a “2” behind the name).
In Dreamweaver there was a local files tree and a remote files tree. If I opened a document from the local files and edited the code, pushed upload and it would go to the server and update the same file on the server.
Is there a way to do this in NPP?
-
@Joel-Short said in FTP and managing local files - connect local and server files?:
Notepad++ can be used as an FTP server with the nppFTP plugin
I think you mean “Notepad++ can be used to edit files on an FTP server with the NppFTP plugin”. (Details: Neither Notepad++ nor NppFTP are server software; the NppFTP plugin is acting as a client. The server is running on whatever machine you are remote-connecting to.)
Is there a way to do this in NPP?
Using the General Settings of the NppFTP plugin (the gear icon in the plugin’s window/panel), the Global Cache field gives you the ability to customize where NppFTP keeps the local copies of the files from the server; you might be able to configure that in a way that it makes use of the same directory as Dreamweaver.
However, if Dreamweaver doesn’t care where the files are that it’s editing, then it would seem easier to have Dreamweaver point to the NppFTP cache directory, instead of trying to do configure it the other way around.
But maybe I haven’t understood your use case.
-
Thanks for the reply. I’m looking for an alternative to Dreamweaver because I have an old version (CS4) and it appears to be no longer compatible with Windows 11. After a Windows update DW is very unstable. The only thing I used DW for was a little bit of HTML editing and FTP upload.
I came across a prior discussion regarding the Global Cache idea but I’m not sure I want to mess around with that. No worries, I think I’ll go with something else, like Coffeecup HTML editor.