Get *.csv not working

Advertisement

DPenrose@affinitus.co.uk
Joined:
Posts:
1

Get *.csv not working

get -Transfer=binary *.csv C:\Freshware\EDI\Orders\
I am trying to download a folder full of orders in .csv format.

If I set the transfer to binary and use the *.csv it falls over as it's trying to download a directory listing in Ascii mode and fails.
get -Transfer=binary Order_123.csv C:\Freshware\EDI\Orders\
This works but I need the need the wild card to get the files as I will not know the file name to be specific.

The ls command fails the the same error 200 as well.
. 2022-07-29 18:11:34.575 Retrieving directory listing...
> 2022-07-29 18:11:34.575 TYPE A
< 2022-07-29 18:11:34.586 200 ASCII isn't properly supported: https://github.com/fclairamb/ftpserver/issues/86
Any ideas?

Reply with quote

Advertisement

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

Re: Get *.csv not working

Well, that looks like a deficiency of the server. Directory listing is textual information. It's only natural that it is transferred in ascii/text mode.

Reply with quote

Advertisement

You can post new topics in this forum