Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect folder position on local drive when uploading file to site #347

Open
dspwhite opened this issue Oct 5, 2022 · 4 comments
Open

Comments

@dspwhite
Copy link

dspwhite commented Oct 5, 2022

Using the latest version of NppFTP with Notepad++ 8.4.2.

I have my HTML files and folders mirrored on my local hard drive as they appear on my website. Hence when I want to upload a file, I don't want to have to navigate to the correct folder on the website in the NppFTP panel - it should find it automatically according to the file's position on my local drive. The EditPlus text editor did this and it was a massive timesaver.

At first, I thought setting the "Initial Remote Directory" to my site's root folder on my local drive in the NppFTP profile settings would allow for this. However, no luck. The file is still merely uploaded to whatever the folder position is in the NppFTP panel.

Is it possible to do what I want, or can you at least implement it going forwards?

@pryrt
Copy link

pryrt commented Nov 14, 2022

If I am reading things correctly, I believe that the second problem mentioned in this Notepad++ Community post also references this same difficulty.

@dspwhite
Copy link
Author

I think his issue is that the folders above the root folder in the remote location take up too much horizontal real estate on the screen in Notepad++.

My problem is that I want to take the local folder and have NppFTP automatically match it up against the remote folder, so than I don't have to navigate to the correct remote folder; instead, NppFTP will do this automatically.

@dspwhite dspwhite reopened this Nov 17, 2022
@pryrt
Copy link

pryrt commented Nov 17, 2022

@dspwhite ,

There were two aspects in the Community post. Problem 1 was that the horizontal space. But problem 2 was

And another problem is, when i launch the programm, tabs are already opened and i press Save, it will save, but File explorer doesnt start with initial directory and i had to go back from root till specific dir.

This second problem sounds quite similar to me, because it has to do with where files get saved on the remote relative to where they are on the local drive, and not always going where you think they will. (In other words, you are not the only one to have problems with the file not uploading to the remote directory you would like.)

@dspwhite
Copy link
Author

Ah maybe, it would have been clearer if he said "I upload file to remote location" rather than "i press Save".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants