Getting files without read access - anonymous FTP server

Advertisement

historyfiend
Joined:
Posts:
3
Location:
Ottawa, Ontario, Canada

Getting files without read access - anonymous FTP server

I want to get a file using anonymous FTP from a server that denies read access, as a privacy measure. Everything is fine up to the point where I cd to the source folder on the FTP server. At that point I need to LIST file.zip in order to see the file so I can drag it to my local. But I can't figure out where to do the LIST file.zip command. In another WinFTP software program there is a little box to fill in the command or filter and it works great. I've tried various ways to filter or send LIST command within WinSCP and none of them have worked for me.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,552
Location:
Prague, Czechia

Re: Getting files without read access - anonymous FTP server

WinSCP does not support anything like that.
Do you mean that you cannot do "LIST", but you can do "LIST file.zip"?

Reply with quote

historyfiend
Joined:
Posts:
3
Location:
Ottawa, Ontario, Canada

Re: Getting files without read access - anonymous FTP server

martin wrote:

WinSCP does not support anything like that.
Do you mean that you cannot do "LIST", but you can do "LIST file.zip"?

Maybe I'm not explaining this clearly, my understanding is that this is very standard with anonymous FTP: the server refuses a list all command equivalent to "ls" or "dir" but will honor a single file specific list command equivalent to "ls myfile.zip". So how does WinSCP support this?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,552
Location:
Prague, Czechia

Re: Getting files without read access - anonymous FTP server

historyfiend wrote:

Maybe I'm not explaining this clearly, my understanding is that this is very standard with anonymous FTP: the server refuses a list all command equivalent to "ls" or "dir" but will honor a single file specific list command equivalent to "ls myfile.zip". So how does WinSCP support this?
I've never heard of this. WinSCP definitely does not support it.

Reply with quote

historyfiend
Joined:
Posts:
3
Location:
Ottawa, Ontario, Canada

Re: Getting files without read access - anonymous FTP server

martin wrote:

historyfiend wrote:

Maybe I'm not explaining this clearly, my understanding is that this is very standard with anonymous FTP: the server refuses a list all command equivalent to "ls" or "dir" but will honor a single file specific list command equivalent to "ls myfile.zip". So how does WinSCP support this?
I've never heard of this. WinSCP definitely does not support it.

Not a great reference because it doesn't explain in detail this point, but see <invalid hyperlink removed by admin> item 1.8 "Making the incoming directory unreadable by anonymous ftp helps to some extent." I've run in to this config several times over the years.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum