Overview: When you import your site passwords for WS_FTP LE (and possible other versions), be sure to update both:
- The main copy of the WS_FTP.ini file, typically located in “C:\Program Files\WS_FTP\”
- AND the user specific WS_FTP.ini file that is created for each user that opens the WS_FTP program. That file is typically located at “C:\Users\(User)\AppData\Local\VirtualStore\Program Files\WS_FTP\WS_FTP.ini”. Optionally, you can update this file by just deleting it and the program will pull in the fresh copy from the main installation next time the user open their WS_FTP program.
The Back Story: How I “lost” my WS_FTP site passwords and then figured out why they were not importing properly in Windows 7
This week, I found myself needing to install an old-school version of WS_FTP LE into a Windows 7 computer. I knew that you can typically just cut and paste the WS_FTP.ini file straight from the old installation to the new one. In this case, the file was located in “C:\Program Files\WS_FTP\” in both the old and the new computer. But when I opened up the WS_FTP program and clicked “Connect” the “Session Properties” box still showed the default list of sites and not the ones I imported. After checking the file to make sure the new information was there, scratching my head and doing a few internet searches I started to think “This feels a lot like when I am trying to update a website and I can’t see the changes because the webpage is being cached.” Was the WS_FTP.ini file being cached somewhere?
I ran another internet search and came across this “Move sites to Windows 7 computer” thread on the Ipswitch help forums. When I saw the file path “C:\Users\(User)\AppData\Local\VirtualStore\Program Files\WS_FTP\WS_FTP.ini” mentioned in the thread, I immediately realized that this may be the source of my caching problem.
And there it was. The source of my confusion. Best I can tell, (And I am far from an expert on these things. This is my educated guess) Windows 7 is pulling a copy of the WS_FTP.ini file from the main installation and creating a user specific copy for whatever reason. I just deleted that file. When I next opened WS_FTP LE, my imported site passwords were there. Success!
To test my guess about the caching, I checked the C:\Users\(User)\AppData\Local\VirtualStore\Program Files\WS_FTP\ and saw that a new copy of the main WS_FTP.ini had appeared.
I added a new site location ( WS_FTP LE -> Connect -> Session Properties Panel: General Tab: New ) and then checked the ws_ftp.ini file. The new site passwords were added to the file located at C:\Users\(User)\AppData\Local\VirtualStore\Program Files\WS_FTP\WS_FTP.ini but the main C:\Program Files\WS_FTP\WS_FTP.ini file remained unchanged. Which means, this installation on Windows 7 is creating a user specific copy if the WS_FTP.ini file and anytime the password list is updated, it is updated at the user level and the new passwords are not being updated in the primaryWS_FTP.ini file.
Recent Comments