Longtime problem with Notepad++ uploading
-
Been living with this for years. Finally decided to seek help. I assume all problems are related to something I’m doing wrong. Sometimes uploading files works flawlessly. At other times, an HTML change will upload to a CSS folder (and vice-versa). I searched your posts and couldn’t find anyone else having this problem. Any ideas?
-
Hello Bill-Byrd,
how do you do the uploades?
What are the steps you do exactly?Cheers
Claudia -
I click on the NppFTP icon, then the folder for the site I’m working on. If I save an HTML or PHP file, it usually overwrites the one already on the server. If I save a CSS file, I can see the CSS folder open, drop down the various CSS files for that site, overwrite the one I just saved. Works like clockwork most of the time. For some reason unknown to me, it sometimes doesn’t put the file in the right place. Every single save requires me to hover over the appropriate folder, right click, upload current file. That assures it will go into the appropriate folder. On another note, I got a request-to-verify in my email (for this forum). When I clicked on it, I got an error message. It’s possible that I registered years ago and forgot about it. I would’ve had a different email address then. How do I straighten that out? (I’m assuming you are admin.)
-
Hello Bill-Byrd,
but that’s normal behaviour, you need to select the folder which should be used to upload the file.
You can specify the initial directory per server maybe this is different if you have more than one server
you are working on. I don’t see that NppFTP has a chance to assume where it must upload the file to. Sorry.
And, no, I’m not an admin - just a user as you are.Cheers
Claudia -
I do appreciate your help Claudia. But, I cannot help but think you are mistaken. 99% of the time, saving an HTML or PHP file goes into the projects main folder. CSS files go directly into the CSS folder. Test it for yourself. Save one of your html files, reload the browser, see your change there. Then-- save a CSS file. You’ll actually see the CSS folder kick open to receive the saved file. Again, reload your browser to see the change.
-
Hello Bill,
But, I cannot help but think you are mistaken.
might be, I’m not really using NppFTP a lot maybe there is some logic in it I discovered yet.
Just to be sure that we talk about the same thing.
The files you wish to update are on your local machine, you do not download it from the webserver to edit it, correct?
The html and the css are in different folders on the webserver correct?
I will test and see if I can find something which could explain the behaviour but this will take some time as
I’m ready to go to work now.Cheers
Claudia -
@Bill-Byrd you are correct,
author has implement a feature called cache path.
Need to check this out.Cheers
Claudia -
Thanks Claudia! I’ll study that over very closely before changing anything, but that is probably the solution. I’ll let you know if it works. Thank you so much for helping me.
-
Hello Bill,
I have to thank you as I wouldn’t have discovered this feature yet.
Very interesting, indeed. Let’s see if it’s possible to have something like
approved-test-evironment gets automatically updated on server when
files are stored/overwritten in production folder.Cheers
Claudia