TechnicallyChris.com

Technical and Personal Ramblings of a Bostonian
  • Home
  • About Chris
  • Donate
  • Contact Chris
Home > Random Technology > Problems using the Notepad++ FTP_Synchronize Plugin with Vista

Problems using the Notepad++ FTP_Synchronize Plugin with Vista

June 13th, 2009
Goto comments Leave a comment

I was excited to find out recently that Notepad++ has a plug-in that will allow you to edit files on an FTP server. The plug-in, which has come with Notepad++ since v4.7, is FTP_Synchronize. Unfortunately, although I’m on Notepad++ 5.2, the plug-in did not work out of the box for me. While I could connect to and browse my FTP server, any attempt to download a file resulted in the error “Unable to create directory for file C”.

After browsing the forums and googling around, it seems that some people were able to upgrade to the latest unstable releases from CVS or reinstall Notepad++ to resolve the issue. My solution for this problem was to run Notepad++ as an administrator. When running it as admin, I found that it created the folder “C:\program files\notepad++\plugins\FTP_synchronize”. This folder is where files that were being edited are cached.

After the folder was created, I changed the permissions on the folder so that the EVERYONE group had FULL CONTROL on the folder. Now, when I launch Notepad++ I can use the FTP_Synchronize plug-in without issue. An alternative method, I suppose, would be to disable UAC in Vista, but I might be one of the few geeks that kind of likes keeping it on.

Update: I’ve learned that there is an option for this plug-in that allows you to store the cached copies of the pages anywhere you like. While I haven’t tried it, storing the pages somewhere other than Program Files (such as in your documents folder) should fix this issue as well.

If you enjoyed this article or it helped you in any way, I’d appreciate it if you’d post a comment below to let me know. All code examples are for demonstration only and should be used at your own risk. I cannot accept liability for unexpected results.

Chris Random Technology Notepad++

Comments (16) Trackbacks (2) Leave a comment Trackback
  1. Bill
    July 11th, 2009 at 10:28 | #1
    Reply | Quote

    Brilliant! thank you!!

    While i was running notepad++ as admin, it didn’t create the dir.
    Creating it by hand solved the problem.

    Thanks again!

  2. Chris
    July 11th, 2009 at 22:20 | #2
    Reply | Quote

    @Bill
    Glad it helped, Bill, I’ve found you should also be able to change the path to resolve the issue in Vista although I haven’t been able to confirm it. Thanks for commenting!

  3. Nicholas Maietta
    July 13th, 2009 at 10:22 | #3
    Reply | Quote

    I think it’d be great if the FTP_synchronize module stores caches settings under the folder belonging to the currently logged in user in Vista. This way, Vista won’t deny access to the file as it does because these settings are stored in a directory that requires the user to be logged in as an Administrator. This program doesn’t run as administrator by default, and so this issue surfaced.

    A work around I know has worked for me is to simply change the permissions for the directory being denied access by Vista to Notepad++. Ensure that the currently logged in Vista user (you) has the permissions on the FTP_synchronize folder to write/access as well as read. If you are logged onto Vista as “John Doe”, then you must tell Vista that “John Doe” has the permissions to modify/write to this folder.

  4. Chris
    July 14th, 2009 at 01:53 | #4
    Reply | Quote

    @Nicholas Maietta
    Nicholas, I agree completely! I can only suggest that we let the author know how we feel. Being that he has provided this to us completely free of charge and has donated his time and work to the betterment of NotePad++, I wont say we should demand such a change, but I think the more people that send their suggestions to him, the better!

  5. Martin
    August 22nd, 2009 at 15:44 | #5
    Reply | Quote

    Thanks! This solved my problem aswell. I’m running Windows 7 so this solution works for that one too so you know :)

  6. KDev
    October 27th, 2009 at 07:28 | #6
    Reply | Quote

    Worked a treat! thanks

  7. Matt Refghi
    November 14th, 2009 at 00:34 | #7
    Reply | Quote

    Thank you – solved my problem under Windows 7. I simply created a folder within Documents, that did the trick.

  8. Loiseau2nuit
    December 30th, 2009 at 02:01 | #8
    Reply | Quote

    Hi there !

    Thanks for this article.

    I’m feeling free to translate it in French for my blog readers if you don’t mind. You are naturally full credited :

    NPP, FTP_Synchronize & Vista

    By the way :

    Update: I’ve learned that there is an option for this plug-in that allows you to store the cached copies of the pages anywhere you like. While I haven’t tried it, storing the pages somewhere other than Program Files (such as in your documents folder) should fix this issue as well.

    Actually, there is :

    Through the FTP servers setting window, you get a “general” tab under which you should find the option. I’m also notifying this in my post with screenshots. ;-)

  9. Leonardo Lux
    December 31st, 2009 at 09:36 | #9
    Reply | Quote

    Thanks! It worked for me. Notepad++ plus FTP Synchronize is a powerful tool for edit documents online (I prefer this instead other heavy IDE like Eclipse), and was very annoying that were not possible to use FTP Sync. on Windows Vista or 7. Greetings from Chile, and Happy New Year!

  10. ewen
    March 13th, 2010 at 08:33 | #10
    Reply | Quote

    thank you a thousand times…
    At last, I’ve got a opend DreamWaver now.
    Greetings from Bretagne!

  11. Tom
    March 27th, 2010 at 18:00 | #11
    Reply | Quote

    For me it doesn’t work. I set caching directory for any writeable directory I create. I connect to FTP, I can edit and save file “online” but when I choose save as, I don’t see any other files that the one I edit. I don’t see also any subdirectories (they exist on ftp). I don’t see also directories that are above but not in straight line.

    For example I have:

    FTP
    _
    \DIR1
    _
    \DIR2_
    \SUBDIR2_
    \file1, file2, file3

    I connect to this ftp and edit file3, when I choose save_as I don’t see files file1 and file2.

    When I want to save my current file in dir above of SUBDIR2 I can’t see DIR1 (it exists on the server) I see only DIR2.

    Any help?

  12. splendidus
    April 21st, 2010 at 15:09 | #12
    Reply | Quote

    Great tip, thank you!

  13. Dima Nikolaev
    May 22nd, 2010 at 08:29 | #13
    Reply | Quote

    Thanks. It worked.

  14. SteveM
    May 29th, 2010 at 03:31 | #14
    Reply | Quote

    Great advice! Fixed my problem! Thanks!

    P.S. Man, I love the internet…

  15. Adrien
    May 29th, 2010 at 03:32 | #15
    Reply | Quote

    Thx man :)

  16. Doug
    May 29th, 2010 at 03:32 | #16
    Reply | Quote

    Thanks, it worked when i started Notepad++ as admin.

  1. January 11th, 2010 at 14:57 | #1
    CypherHackz.Net
  2. April 15th, 2010 at 16:40 | #2
    NotePad++ and the FTP Plugin « Dotgility
Subscribe to comments feed
How to Ping a Computer from Excel Boston Redsox Season Ticket Waiting List
RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Sponsored By

Read my review of Mozy here.

Recent Posts

  • Just Bought the Google Nexus One
  • Seven Things I’ve Liked About Windows 7 in Seven Day
  • What’s Happened to Customer Service (Part 2)?
  • What’s Happened to Customer Service (Part 1)?
  • Capturing S.M.A.R.T. Hard Disk Data from WMI with AutoIt
  • Adjusting DCOM Settings via Script
  • How to Manually Call the Google Cache
  • RoboForm & RoboForm2Go Product Review
  • Updated PingCell Function for Excel
  • Creating Hyperlinks in Word and Excel Longer than 256 Characters

Categories

  • ColdFusion
  • Firefox
  • Google Nexus One
  • IIS
  • McAfee EE / SafeBoot
  • Microsoft Windows
  • Oracle
  • Random Code
  • Random Technology
  • Sports and Recreation
  • Subversion
  • The Untechnological

Archives

  • January 2010
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • October 2007
  • September 2007
  • August 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006

Meta

  • Register
  • Log in
PageRank
Top WordPress
Copyright © 2006-2010 TechnicallyChris.com
Theme by mg12. Valid XHTML 1.1 and CSS 3.