CoreServer not working with linux lftp command line utility

Report bugs or issues with Core FTP Server here
Locked
tstrugar
Posts: 7
Joined: Tue Dec 15, 2009 1:08 pm

CoreServer not working with linux lftp command line utility

Post by tstrugar »

Hi

Env: CoreFTPserver v332

We have a user that uses the linux lftp command line utility to upload and download files.

We find that:

1. The user cannot get file listings, they can only get directory listings

2. The post upload script does not run

We tested with FileZilla on a Windows machine with the same username and files etc:

1. User could get both directory AND file listings
2. The post upload script works

Can you please fix asap and advise?

Thanks
Tomi Strugar
Information Services Manager
WNF
tstrugar
Posts: 7
Joined: Tue Dec 15, 2009 1:08 pm

Post by tstrugar »

From the user:

Hi Tomi,

As mentioned, our command-line program is able to connect to the
server and put files there.
Main problem is that we can't get the list of xml-files from the
connected directory.

UPDATE 16/02/2010:
Finally got it working, I have changed the command issued to get the
list of files, to a command that shows hidden files as well.
I have changed the scripts on our side so that all now connect to the
SFTP-location for uploading and downloading.

Hope this information is useful.

Best regards,

PS: Below you find the debug logs for connecting to the server and
requesting the list of files, from before I made the change mentioned
above.

---- path on wire is `/van WNF naar leverancier'
---> sending a packet, length=34, type=11(OPENDIR), id=4
<--- got a packet, length=22, type=102(HANDLE), id=4
---- got file handle 4F70656E44697248616E646C65 (13)
---> sending a packet, length=22, type=12(READDIR), id=5
<--- got a packet, length=205, type=104(NAME), id=5
---- file name count=2
---> sending a packet, length=22, type=12(READDIR), id=6
---> sending a packet, length=22, type=12(READDIR), id=7
<--- got a packet, length=28, type=101(STATUS), id=6
---- eof
---> sending a packet, length=22, type=4(CLOSE), id=8
---- Disconnecting
Locked