1833013 Members
2779 Online
110048 Solutions
New Discussion

ftp error!

 
Amit Manna_6
Regular Advisor

ftp error!

HI All,
I am trying to do a ftp of a tar file from one box runnning HP 11i to another box HP11i.
It gives the following error:

" Opening BINARY mode data connection for server.tar.
sendfile: Broken pipe
452 Error writing file: Error 0."


Anybody any idea.

12 REPLIES 12
Arunvijai_4
Honored Contributor

Re: ftp error!

Hi Amit,

Your download is broken. Do the following before and after downloading

# cksum

# ftp server-name

ftp> bin

After downloading,

# cksum

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: ftp error!

Do you have enough space in dir where you are trying to download the file?
There is no substitute to HARDWORK
Amit Manna_6
Regular Advisor

Re: ftp error!

Space is there in the destination file system.
Arunvijai_4
Honored Contributor

Re: ftp error!

Amit,

Use "cksum" before and after downloading the file.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ninad_1
Honored Contributor

Re: ftp error!

Amit,

Please check permissions of the destination directory, or if the file exists and if the user is allowed to write to the destination directory.

Regards,
Ninad
Arunkumar.B
Trusted Contributor

Re: ftp error!

Hi Amit,

This seems to be permission issue only.Check that ....


Cheers
Arunkumar.B
Necessity breaks iron
Amit Manna_6
Regular Advisor

Re: ftp error!

The permssions are ok in both the servers.
jon2
Advisor

Re: ftp error!

I once had an ftp of a file that always aborted at the same point in the file. It was a compressed file. We recompressed it using gzip. The file transfer then succeeded. I can only conclude that ftp interpreted a char sequence in the file as terminate command.
Ninad_1
Honored Contributor

Re: ftp error!

Are you trying to ftp across a firewall ?
Is there any problem like network congestion etc ?
Please refer http://www.exim.org/exim-html-4.40/doc/html/FAQ_0.html for some causes of broken pipe.

Regards,
Ninad
Timothy P. Jackson
Valued Contributor

Re: ftp error!

I do ftp's of tar file many times a day. One thing to remember is to transfer it in binary mode. Even if it says you are in binary mode when you enter into ftp type in binary any way. Sometimes you are really not in binary mode. If you are not in binary mode your tar file will probably not be good

Tim
Mridul Shrivastava
Honored Contributor

Re: ftp error!

May I know the size of file u r trying to ftp? There were some issues because of the ftpd not supporting largefiles which causes this error.
r u using secure ids with ftpd, then following url may be a help for u:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=134670

Meanwhile I would request you to check the current FTP patch level also.
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor

Re: ftp error!

May I know the size of file u r trying to ftp? There were some issues because of the ftpd not supporting largefiles which causes this error.
r u using secure ids with ftpd,If this is the case then I request you to upgrade ftpd which supports largefiles also.
following url may be a help for u:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=134670

Meanwhile I would request you to check the current FTP patch level also.
Time has a wonderful way of weeding out the trivial