Operating System - HP-UX
1838334 Members
3100 Online
110125 Solutions
New Discussion

Re: ftp file size is zero

 
Bobby Brown
New Member

ftp file size is zero

When I ftp from an NT server to an HP server, the files show up but the sizes are zero. Could this be a permission problem or a difference in server issue?
4 REPLIES 4
Pedro Sousa
Honored Contributor

Re: ftp file size is zero

That's very strange!
Are you using the same login when using the ftp and when you login the system?
Did it give any message relating the bytes that were transferred?
Uffe Gavnholt_1
Honored Contributor

Re: ftp file size is zero

be aware that the default transfer mode in nt's ftp client is to transfer data in ASCII.

Try typing bin before the transfers, to see the difference.

Regards

Uffe
Tracey
Trusted Contributor

Re: ftp file size is zero

I've gotten this message when the filename is not quite correct. It tries to FTP the file, but since it doesn't exist, it created a zero file on the HP side. Could the filename be inforrect, or maybe in the wrong directory when you try to ftp?
ramesh_4
Occasional Advisor

Re: ftp file size is zero

hi Bobby,
Atually such problems when the file naming convention in NT clashes with UNIX. So try changing the filename and do the ftp. Also make sure you do the transfer in binary mode, since the operating systems differ from each other. When ever you are doing an ftp make sure you get the message "Transfer Successful" else redo it again.
like to find out new things and compare with other flavours of unix