WinSCP 5.19.5 and /tmp directory

Advertisement

syncgw
Joined:
Posts:
4

WinSCP 5.19.5 and /tmp directory

Hi,
I cannot see any files in /tmp (empty) even if I've enabled to show hidden files. Using telnet shows
$ ls -al /tmp
total 224
drwxrwxrwt  3 root        root    4096 Nov 28 09:57 .
drwxr-xr-x 24 root        root    4096 Jun 23 02:20 ..
-rw-r--r--  1 syncgw     psacln  3217 Nov 27 23:16 61a2ae31309b9.tmp
-rw-r--r--  1 syncgw     psacln  4595 Nov 27 23:16 61a2ae315aaf3.tmp
Is this a feature or a bug? Any hints?

Reply with quote

Advertisement

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

Re: WinSCP 5.19.5 and /tmp directory

What protocol are you using? Can you see the files in any other client using the same protocol?

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar

Isn't your FTP account chrooted? Isn't the /tmp you see in FTP actually something like /home/youraccount/tmp? And the real /tmp is inaccessible by FTP?

Reply with quote

syncgw
Joined:
Posts:
4

This is a web hosting account. Path is accessible, but shows no files (created by PHP scripts) in WinSCP. Copy path (in WinSCP) shows
/tmp
. File attributes see screen shot.

Unbenannt.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar

I do not think you have answered (or understood) my question.
Is the root the same in the FTP and the shell? Do you see the same files/folders, when you do ls / in the shell and when you visit the root folder (/) in WinSCP (or any other FTP client)?

Reply with quote

martin
Site Admin
martin avatar

Well, those are obviously completely different folders. I assume your FTP is chrooted. Nothing you can do about it on WinSCP side. If you want to access complete file system in FTP, please contact your server administrator.

Reply with quote

Advertisement

You can post new topics in this forum