Error: Cannot read \\Desktop\file.php

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Gracjan
Junior Member
Junior Member
Posts: 8
Joined: 2016-01-20, 02:14 UTC
Location: United Kingdom

Error: Cannot read \\Desktop\file.php

Post by *Gracjan »

Hello,

From today I've got a strange problem.
When I'm trying to copy a file to my FTP I receive error message: Error: Cannot read \\location\file.php.

I'll do this without any problems before.
Restarted TC / PC nothing helps.

Thank you for your help in advance.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What is this \\location? Sounds like a virtual folder. TC cannot upload from virtual folders to ftp because you can't read directly from objects in virtual folders.
Author of Total Commander
https://www.ghisler.com
User avatar
Gracjan
Junior Member
Junior Member
Posts: 8
Joined: 2016-01-20, 02:14 UTC
Location: United Kingdom

Post by *Gracjan »

No, it's just an example name of folder (path to my documents).
So it's a standard location. Not virtual.

It's happened when I download small .php file from server, edited it, upload back and receive this error.
User avatar
petermad
Power Member
Power Member
Posts: 16137
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Try to enable: "Use passive mode for transfers (like A WWW browser)", in the setup for the connection.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Gracjan
Junior Member
Junior Member
Posts: 8
Joined: 2016-01-20, 02:14 UTC
Location: United Kingdom

Post by *Gracjan »

petermad wrote:Try to enable: "Use passive mode for transfers (like A WWW browser)", in the setup for the connection.
Yep, it helps.
I hope.

Thanks so much :) .
User avatar
Gracjan
Junior Member
Junior Member
Posts: 8
Joined: 2016-01-20, 02:14 UTC
Location: United Kingdom

Post by *Gracjan »

Ok,
I think this is a kind of bug because I got this error again and I had to back to Filezilla again to transfer files to FTP.

http://i.imgur.com/gC7M4rI.png

Error: Cannot read \\Desktop\.htaccess!




 
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Gracjan wrote:No, it's just an example name of folder (path to my documents).
So it's a standard location. Not virtual.

It's happened when I download small .php file from server, edited it, upload back and receive this error.
http://i.imgur.com/gC7M4rI.png -> \\Desktop is a virtual folder combining the content of the all users desktop an your personal desktop!
MSDN:CSIDL_DESKTOP wrote:The virtual folder that represents the Windows desktop, the root of the namespace.
Try to upload from your personal desktop cd %$DESKTOP% (or cd C:\Users\<YourLoginName>\Desktop).

Regards
Holger
User avatar
Gracjan
Junior Member
Junior Member
Posts: 8
Joined: 2016-01-20, 02:14 UTC
Location: United Kingdom

Post by *Gracjan »

Now I see that @ghisler and you are right about this.

So "\\" mean virtual desktop.... uff.

Thanks for clarifying :)
Post Reply