Automatic reconnection with environment credentials
Hi team, apologies if this was addressed already, but here's something I wanted to mention for a while:
I use WinSCP with environment variables (credentials file) that I must renew every 12h or so. When I renew the token, I have (or don't know) how to tell WinSCP to refresh it - connection fails, and I need to disconnect and reconnect the session (screenshots attached). In the process, it normally loses the path I was working on (I think it reverts to the path I had open when I last closed the app).
My suggestion is to have this either automatically - in case of expired token, first try to refresh it from the environment, and if it fails, prompt the user to either refresh it or check the connection/configs.
Again, apologies if this is a case of failure to RTFM, but having this changed would go a long way in streamlining my workflow :-)
I use WinSCP with environment variables (credentials file) that I must renew every 12h or so. When I renew the token, I have (or don't know) how to tell WinSCP to refresh it - connection fails, and I need to disconnect and reconnect the session (screenshots attached). In the process, it normally loses the path I was working on (I think it reverts to the path I had open when I last closed the app).
My suggestion is to have this either automatically - in case of expired token, first try to refresh it from the environment, and if it fails, prompt the user to either refresh it or check the connection/configs.
Again, apologies if this is a case of failure to RTFM, but having this changed would go a long way in streamlining my workflow :-)