Topic "cannot upload folder seems to be defined as hidden"

Author Message
Makalani

Guest


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:
Code:

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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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.
Guest




prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
As I wrote, go to C:\Windows\SysWOW64 to access the 64-bit contents.
Guest




prikryl 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"
Code:

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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I do not have certsrv on my machine, so I cannot help your on this.
Makalani

Guest


prikryl 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"
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I'm not aware of any way to access C:\Windows\System32\Boot on 64-bit system from 32-bit application.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
You can though create a directory junction to the subbolder to create an alternative access path.
Guest




prikryl 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 Smile

Thanks
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License