451 Local resource failure: malloc: No such device or addres

Hi,

I am getting the above error whenever I connect to unix server from my PC using smartftp. I have seen other person not getting this error. Can you suggest anything?

200 NOOP command successful.
Compression disabled for private IP addresses.
PASV
227 Entering Passive Mode (172,25,1,62,4,59)
Opening data connection to 172.25.1.62 Port: 1083
LIST -l
0 bytes transferred. (0 bytes/s) (62 ms)
150 Opening BINARY mode data connection for /bin/ls (172.25.2.27,2017).
451 Local resource failure: malloc: No such device or address.

It's an error from your FTP server.

Regards,
-Mat

but i am able to successfully send and receive files using the normal ftp from windows command prompt and also from the other unix servers. So it has something to do with smartftp.

Also i have seen others use smartftp to the same server but I am not able to do the same. So it cant be a server problem.

Go to the Settings->Transfer and uncheck the "Resolve Symoblic Links" checkbox in the directory listing options. This will remove the -l from the LIST.

-Mat

I tried but didnt work.

SmartFTP v1.5.988.28
Resolving host name "galaxy"
Connecting to 172.25.1.62 Port: 21
Connected to galaxy.
220 galaxy.cerillion.com FTP server (Compaq Tru64 UNIX Version 5.60) ready.
USER gsupp
331 Password required for gsupp.
PASS (hidden)
230 User gsupp logged in.
SYST
215 UNIX Type: L8 Version: Compaq Tru64 UNIX V5.1B (Rev. 2650)
FEAT
500 'FEAT': command not understood.
TYPE I
200 Type set to I.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/disk6/cerillion_homes/gttguyana/users/gsupp" is current directory.
Compression disabled for private IP addresses.
PASV
227 Entering Passive Mode (172,25,1,62,9,153)
Opening data connection to 172.25.1.62 Port: 2457
LIST
0 bytes transferred. (N/A/s) (0 ms)
150 Opening BINARY mode data connection for /bin/ls (172.25.2.27,1050).
451 Local resource failure: malloc: No such device or address.

----------------------------------------------------------
Below is the log from the machine where it works:
----------------------------------------------------------

Resolving host name galaxy...
Connecting to (galaxy) -> IP: 172.25.1.62 PORT: 21
Connected to (galaxy) -> Time = 0ms
Socket connected waiting for login sequence.
220 galaxy.cerillion.com FTP server (Compaq Tru64 UNIX Version 5.60) ready.
USER gsupp
331 Password required for gsupp.
PASS (hidden)
230 User gsupp logged in.
SYST
215 UNIX Type: L8 Version: Compaq Tru64 UNIX V5.1B (Rev. 2650)
FEAT
500 'FEAT': command not understood.
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/disk6/cerillion_homes/gttguyana/users/gsupp" is current directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (172,25,1,62,9,144)
Opening data connection IP: 172,25,1,62,9,144 PORT: 2448.
LIST -aL
150 Opening ASCII mode data connection for /bin/ls (172.25.2.147,3267).
605 bytes received successfully. (605 B/s) (00:00:01).
226 Transfer complete.

as you can see the type is set to I, so i changed the type to A using command line and then it displayed the list of files without giving any error.

Now, if i try to re-connect, there is no error but the type is I again. So it works for one directory but not others.

Can you let me know how to change type to A by default?

As you can see in the 2nd log from the machine where it works, you need to provide -a and -l switch to the LIST command.

LIST -al

To add these switches go to the Settings->Transfer and check/tick the following:

[x] Show all Filles
[x] Resolve Symbolic Links

-Mat

I also had -aL initially and then I changed it. Its something to do with type. In the second log the type is set to A, so if you can tell me how to do that it should resolve the problem?

When i change the type to A from command line using the command "Type A" it works but I want this to be set by default instead of Type I.

Ah I see the problem now. The server requires TYPE A for a correct directory listing. This is actually a bug with the server software. But we will write a work around. You may want to report this bug to Compaq as well.

Thanks for reporting.
-Mat

Is it possible to set the type to A by default for all connections?

The type is set to A when i use other machine but set to I when I use mine.