cannot upload folder seems to be defined as hidden

Advertisement

Makalani
Guest

cannot upload folder seems to be defined as hidden

Hello Support,

I want to upload a folder to my server Using a simple script. The script keeps telling me the folder does not exist:
File or folder 'C:\Windows\System32\certsrv' does not exist.
System Error.  Code: 3.
The system cannot find the path specified
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
The folder does exist. Using the GUI even when I enable the option to show hidden files this folder is still not visible.

Why is this? I know the folder exists but winscp is simply not showing this folder.
The same applies to other folders like:
"C:\Windows\System32\Boot"
"C:\Windows\System32\CertLog"
"C:\Windows\System32\CodeIntegrity"

Could you please tell me how I can upload files from these folders to my server?

Tried the following already:
start script with /ini= Parameter which contained the option ShowHiddenFiles=1
Start script with /RawConfig Interface\ShowHiddenFiles=1 option
Added the option -rawconfig Interface\ShowHiddenFiles=1 to open command

none of which have worked so far.

Kind Regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,515
Location:
Prague, Czechia

Re: cannot upload folder seems to be defined as hidden

The C:\Windows\System32 folder is kind of magic. On 64-bit Windows, it shows a different contents to 32-bit and 64-bit application. To 32-bit applications (like WinSCP), it actually shows a contents of C:\Windows\SysWOW64.

Reply with quote

Guest

Re: cannot upload folder seems to be defined as hidden

martin wrote:

The C:\Windows\System32 folder is kind of magic. On 64-bit Windows, it shows a different contents to 32-bit and 64-bit application. To 32-bit applications (like WinSCP), it actually shows a contents of C:\Windows\SysWOW64.

OK and is there a way to get into the normal system32? Or is there a 64bit version of winscp?

Any help would be very much appreciated.

Thanks

Reply with quote

martin
Site Admin
martin avatar

Re: cannot upload folder seems to be defined as hidden

As I wrote, go to C:\Windows\SysWOW64 to access the 64-bit contents.

Reply with quote

Guest

Re: cannot upload folder seems to be defined as hidden

martin wrote:

As I wrote, go to C:\Windows\SysWOW64 to access the 64-bit contents.

But this folder does not contain the folder I need, namely: "C:\Windows\System32\certsrv"
File or folder 'C:\Windows\SysWOW64\certsrv\CertEnroll' does not exist.
System Error.  Code: 3.
The system cannot find the path specified
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort

I am unable to access this folder using Winscp. I does not matter if I try to user the path "C:\Windows\System32" or "C:\Windows\SysWOW64"

and this affects multiple folders in this path.

Is there any way to get access or make the folder visible? Like I mentioned in my first post I have tried many different ways and have not been able to get this to work?

Kind Regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: cannot upload folder seems to be defined as hidden

I do not have certsrv on my machine, so I cannot help your on this.

Reply with quote

Makalani
Guest

Re: cannot upload folder seems to be defined as hidden

martin wrote:

I do not have certsrv on my machine, so I cannot help your on this.
What about the other three folders I mentioned?
"C:\Windows\System32\Boot"
"C:\Windows\System32\CertLog"
"C:\Windows\System32\CodeIntegrity"

Reply with quote

martin
Site Admin
martin avatar

Re: cannot upload folder seems to be defined as hidden

I'm not aware of any way to access C:\Windows\System32\Boot on 64-bit system from 32-bit application.

Reply with quote

martin
Site Admin
martin avatar

Re: cannot upload folder seems to be defined as hidden

You can though create a directory junction to the subbolder to create an alternative access path.

Reply with quote

Advertisement

Guest

Re: cannot upload folder seems to be defined as hidden

martin wrote:

You can though create a directory junction to the subfolder to create an alternative access path.

I solved this by first copying the files to a temp location visible to winscp and the uploading the files. Then I delte the temp files after.

Thanks for helping.

one solution might be to compile a 64bit version :)

Thanks

Reply with quote

Advertisement

You can post new topics in this forum