NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Temporary disable FTP (with a key-shortcut if possible ;x)


Joined: 25 Aug 2006
Posts: 18
Location: Netherlands
Reply with quote
I have several projects which I test locally and are also online at a production environment. I have this bad habbit of accidentally control-shift-s'ing when I'm not supposed to do that Wink So I often accidentally put some testing stuff on the production server.

I 'solved' this by changing the top publishing directory into something non-existant. This way I'll just get an error. The ideal solution would be to disable uploads with a short-cut and re-enable it with the same short-cut.
View user's profileFind all posts by SiemaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you may want to create two projects in one workspace. 1st pointing to production server, 2nd w/o publishing account at all, both will have the same project root directory. Whenever you need to stop yourself from uploading you just make 2nd project active, otherwise the 1st one.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Aug 2006
Posts: 18
Location: Netherlands
Reply with quote
Ha, never thought of that Dmitri! Thanks alot.
View user's profileFind all posts by SiemaSend private message
Temporary disable FTP (with a key-shortcut if possible ;x)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic