Hi all,
I use WinSCP to copy files to my linux servers (pitty that it can't be embedded).
But for Windows I would like to simply access the C$ share. I expected that I had to use the 'windows explorer' session for this but it does not seem to work. Is there any easy way to embed an way to copy files from my local pc (or share) to an windows server?
Kind Regards,
Nico
Hi,
I suspect an security issue. Have you tried to enter your admin credentials in the session Tools tab page?
David Hervieux
Dear David,
I only entred information on the connection tab. Under the sub tab 'Host And credentials' I added for the field host teh variable $COMPUTER_HOST$ (also tried the hostname itself. And under the general sub tab in entered 'C$' for the folder.
The credentials are taken from my RDM credentials repository where my domain account is stored (which is domain admin).
But when I open the session it just shows my local desktop. Maybe I filled in some incorrect details but I couldn't find more information in the user guide? I attached the screenshots of the entries that I made in the session configuration
Edit: I also added 003.jpg which shows how the session opens my local files
Edit 2: sorry read the part of the tools tab wrong. I also added the credentials to the tools tab but same problem (see 004.jpg)
Kind Regards,
Nico
edited by nicolinden on 3/3/2013
edited by nicolinden on 3/3/2013
004.jpg
003.jpg
001[1].jpg
002[1].jpg
Hi,
Just for a test, could you try to hard code the host name instead of the variable?
David Hervieux
Hi David,
I just tried but same problem, the windows explorer just opens my local desktop. It doesn't provide an error and opens immediately (so no timeout) When I try to navigate manually to //servername/c$ after the windows explorer opens it works fine. The authentication I use for the server is the same account that is logged on to my laptop by the way.
Does it work in External mode?
David Hervieux
No sorry, then it just opens directly my local 'my documents' folder. It just does not seem to use the hostname and folder option at all?
I will ask Maurice to do some tests.
David Hervieux
Hi
Just to clarify, the servers you are trying to connect to :
are your current credentials in the same domain?
are you sometimes connecting to those servers using your own credentials?
You see, computers cache credentials to make our lifes easier, but it doesnt help at all when you have multiple identities.
If you need an absolute certain way to connect while switching credentials, then you must use the RUNAS windows command. Once you've answered the questions above I can help you in finding the best method to handle your scenario
Regards
Maurice
Hi Maurice,
all servers are in our domain and the laptop from which I am connecting as well. The domain account I use is the same account I use to connect through the whole network (including the logon to my laptop) and this account as domain admin rights.
If I type //servername/c$ after launcing the windows explorer session in RDM (which opens a local folder on my pc no matter what I enter in the configuration) then it opens the network connection without even asking for credentials (since it uses my domain account to connect to the server).
Regards,
Nico...
Hi
You dont need to provide credentials then.
Our Windows Explorer addon uses a simplistic way for sending the parameters. Your case needs a little more tweaking so you have to use a command line session.
The command must look like this. "C:\Windows\System32\explorer.exe" /e,/root,\devolutions-pdc\c$
notice there are no spaces after the commas, is must be exactly like that.
If you want to take the server name from somewhere else in the session, you cannot use the HOST field. You could use a parent host and use $PARENT_HOST$ or use a custom parameter from the information/other tab. Reply if you want something like this.
Best regards
Maurice
Hi Maurice,
I changed it to "%windir%\explorer.exe" since it is located in the windows folder and not under system 32.
Now it does work, however, this way it does not open in tabbed mode? (alway opens in external)
Regards,
ico
Hi
For embedded, just putting \devolutions-pdc\c$ works for me, we use a thirdparty in order to have a explorer like interface and it handles it automatically.
Doesnt it work for you?
Maurice
Hi maurice,
i'm not sure what you mean? If I use:
"C:\Windows\explorer.exe" /e,/root,SERVER NAME\c$
then it work but not in tabbed mode and if I only add SERVER NAME\c$ then I get an error saying "unable to execute the application"
(where SERVER NAME is the actual server name)
Just to be sure, I now use the command line session (under other) and I only add the line above in the run field (so I did not change any other field)
Hi
For embedded mode, you must continue using the explorer type. It works for me when I set to \server\c$
Maurice
Hi Maurice,
That's it! I was using the the explorer type wrong from the beginning.
Since there was a tab with hostname and a tab with folder I was assuming you had to enter the server name on the host tab and the folder you wish to open (c$) on the folder field. (see first attachements). But it never came up to my mind to just simply enter //servername/c$ :-).
Now it works so thanks for your help!
Kind Regards,
Nico...
Hi
In fact we consider that being unable to specify the host name in that field is a bug. We will try to improve this.
Thanks for your feedback
Maurice