How to Set FileZilla to Open and Edit Files with Notepad++

How to Set FileZilla to Open and Edit Files with Notepad++

When installing and using FileZilla FTP client for the first time, it won’t allow you to right-click files and instantly edit them using code editors, like Notepad++.

You want to quickly open and edit your PHP or SQL file but FileZilla won’t let you. In this tutorial, you will learn how to set your FileZilla to open and edit files in Notepad++ code editor.

If you are a beginner website builder, FileZilla is a free desktop program that allows you to transfer files and folders between your desktop and your remote website.

Such programs are most commonly called “FTP clients”. You can download FileZilla for Windows, Linux or Mac from the FileZilla project website.

Notepad++ is a code editing program, like Microsoft’s text editor Notepad. Only with Notepad++ you have much more useful options to work with the code.

Once you have downloaded and installed FileZilla on your desktop, follow the steps below. For the purpose of this tutorial, I will be working on my Windows PC.

Your task is to tell your FileZilla installation where it can find your Notepad++ files. Firstly, you will learn how to get your Notepad++ path. Then you paste it into your FileZilla.  Let’s get started.

Step #1. Locate Your Notepad++ Shortcut Path

  • On your Windows desktop, right-click the Notepad++ shortcut and then click Properties:

click properties

  •  You will see the Properties screen. Copy the path from the Target box:

13 copy the path from the target box

You are now ready to set this path in your FileZilla.

Step #2. Set Your Notepad++ Path in FileZilla

  • Launch FileZilla from your Windows Start menu:

launch your filezilla

You will see the FileZilla screen:

filezilla screen

  • In the left top corner, go to Edit > Settings:

go to edit settings

  • You will see the Settings screen. Click File Editing > Filetype associations:

file editing file associations

You will see the Filetype associations box.

  1. For PHP files, copy the Notepad++ path into the File associations box with “php” (without double quotes marks) in front of the path
  2. Uncheck the Inherit system’s filetype associations checkbox
  3. Click OK

copy the path from the target box

  • Repeat the last three steps for any other file type you may need to open in FileZilla.

To test the result, connect to your server and right-click a file displayed by FileZilla.

rightclick file click edit

You will see the file opened up in Notepad++ ready for editing:

file ready for editing in notepad

Congratulations! You can now right click your php files and open them with your Notepad++ code editor!

Additional Reading

OSTips Video on FileZilla: 

 

Author

0 0 votes
Article Rating
Subscribe
Notify of
72 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Irfan
Irfan
11 years ago

Thank you very much… Very Helpful

mejiwara
mejiwara
11 years ago

how about PNG files? open in Picture & Fax viewer, default at Windows?

Josef Zacek
Josef Zacek
10 years ago

Nice post thanks a lot for sharing

praven
praven
10 years ago

Thank you, It’s working

Americos Php
Americos Php
10 years ago

Thanks a ton.. You saved my time..

tubercle
tubercle
9 years ago

thx!!!

mohit gautam
mohit gautam
9 years ago

thank’s

hirdesh
hirdesh
9 years ago

thank u….. its very helpful

Guest
Guest
9 years ago

not work this file

php “C:\Program Files\Adobe\Adobe Dreamweaver CC 2014”

so tell me how can do this

rhall
rhall
8 years ago
Reply to  Guest

copy the target url

mohd
mohd
9 years ago

Thank you very much… Very Helpful

kumar
kumar
8 years ago

Its Really helpfull,Thanks

akshay saxena
akshay saxena
8 years ago

Thanks a lot mate! Its working! Cheers

rhall
rhall
8 years ago

really helpful..just done..thanks

Bedonna
Bedonna
8 years ago

HELP!

In step 3… I found the Properties Box… but in the “Start In” box… mine is Blank! It doesn’t have a location….

What do I do?

Debbie
Debbie
3 years ago
Reply to  Bedonna

awesome!
If you need to add more than one file type, just use a different line. And you can type %f after each setting, to open the file.

Stone Deft
Stone Deft
8 years ago

Empty Command “C:\Program Files\Adobe\Adobe Dreamweaver CS5\Dreamweaver.exe”

creakygeeky
creakygeeky
7 years ago

Worked for me thanks sooooo much ;u; (June 2016)

Siva
Siva
7 years ago

not working

css “C:\Program Files (x86)\Notepad++.exe”

js “C:\Program Files (x86)\Notepad++.exe”

php “C:\Program Files (x86)\Notepad++.exe”
Error is :

Associated program not found:

C:\Program Files (x86)\Notepad++.exe

Nick
7 years ago
Reply to  Siva

Hi and welcome, Siva! 🙂
Please sign up for one our very affordable support plans at [url=https://www.ostraining.com/pricing]https://www.ostraining.com/…[/url] and one of our techs will be able to help you directly.
Cheers,

3R
3R
6 years ago
Reply to  Nick Savov

Are you serious?

San
San
7 years ago
Reply to  Siva

@siva

Any luck on above error, i see the same error

k5
k5
4 years ago
Reply to  Siva

php “C:Program Files(86)\Notepad++\Notepad++.exe”

samanthi
samanthi
7 years ago

very helpfull. thanks

Bk
Bk
6 years ago

Really great job, it worked for me.

alex-smirnov
6 years ago
Reply to  Bk

You are welcome, Bk.

Md Abul Bashar
Md Abul Bashar
6 years ago

Thank you so much. it’s working for me.

alex-smirnov
6 years ago
Reply to  Md Abul Bashar

Thanks, Abul Bashar. Glad to hear this tutorial helped you.

Anonymous
Anonymous
6 years ago

it was helpful

Rajesh
Rajesh
6 years ago

Thanks A lot…. ? That really saved me. ?

Tarek
Tarek
6 years ago

very much helpful

alex-smirnov
6 years ago

You are welcome, Rajesh and Tarek.

SamCat
SamCat
4 years ago

Really thanks!!! Now it works perfect!!!

Harry Binswanger
Harry Binswanger
4 years ago

This is probably the clearest, most objective, simplest guide pages I’ve ever seen. And I’ve seen hundreds. Congratulations.

Sylvester
Sylvester
4 years ago

Guys am getting failed command, Failed to validate settings

mukesh rai
mukesh rai
4 years ago

thank you very helpful

sana
sana
4 years ago

Thank you so much, that was really helpful, bless you 🙂

mikall
4 years ago
Reply to  sana

We appreciate you and your feedback!  Glad we could help.

Ryan
Ryan
4 years ago

After completing all the steps required to open .txt files, it is still defaulting to open in regular Notepad, not Notepad++. Please help how to change this maybe in FileZilla?

robbieadair
4 years ago
Reply to  Ryan

Ryan,

Try going to Settings>File Editing in Filezilla. On that panel you can set the default editor there. You can can simply browser and select the application you would like to set as default. Like in my screenshot you can see I’m using Sublime as my default editor (click the icon in the lower right to enlarge):

ardi insan
ardi insan
4 years ago

Thank you very much

sobhan
sobhan
4 years ago

thank you,very helpful

Priya
Priya
4 years ago

Thank you.. It’s working

Sushil Kumar Pani
Sushil Kumar Pani
4 years ago

Thank you so much, its working fine.

Sur Jay
Sur Jay
3 years ago

thank you very much, it really help

gildart
gildart
3 years ago

Thanks very much, you save may day

vinaykumar   komakula
vinaykumar komakula
3 years ago

nice tutorial

Sam Ahuja
Sam Ahuja
3 years ago

Thank you, It’s working

Bob L
Bob L
3 years ago

Thank you! So aggravating that it wouldn’t follow my Windows default setting for php files. This worked perfectly. 🙂

Abraham
Abraham
3 years ago

Me salvaron la vida, muchas gracias. 🙂

Vijila
Vijila
3 years ago

Thank You so much. You helped me lot

Shakib
Shakib
3 years ago

Thanks sir!!

igor
igor
3 years ago

thanks

Shihab
Shihab
3 years ago

I had been struggling with opening my CSS file using Sublime Text. I followed the same process and I was able to open my desired extension (css, php, js) in my desired text editor. This article helped!

mikall
3 years ago
Reply to  Shihab

Awesome! So glad you found OST and that we have information that helped you!  Thank you for taking the time to post here.  Robbie has made an [url=https://www.youtube.com/watch?v=BhcNN9K-xvI&t=1s]OSTips video for FileZilla[/url] if you’d like to check that out.

Ghassen
Ghassen
3 years ago

Thaaaaaank you very much this is so helpful 

Ethan
Ethan
3 years ago

Thank you SO much… Seriously. I was pounding my head on the keyboard…

John Mickel
John Mickel
3 years ago

Thank you.. its working

rahmat
rahmat
3 years ago

Thankyou for helped

ariful islam
ariful islam
2 years ago

Thanks for your nice article.

72
0
Would love your thoughts, please comment.x
()
x