Operating System - HP-UX
1833247 Members
2803 Online
110051 Solutions
New Discussion

cannot ftp file larger than 1M from windows to hpux 11.31

 
tom quach_1
Super Advisor

cannot ftp file larger than 1M from windows to hpux 11.31

I am having problem ftp from windows 2000 server to hpux 11.31
if the file is more than 1M then it could not put the file. but if the file is smaller than 1M , ftp works just fine.
with the same windows 2000 server, if i use the same script and point it to the old HPUX 11.11 then the FTP works just fine. did not matter file is larger that 2M or not.
Any help is appreciated.
10 REPLIES 10
Avinash20
Honored Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

What is the error message you recieve ??

Are there server connected in intranet ! Does the traffic go via firewall..
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Steven Schweda
Honored Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

> I am having problem ftp from windows 2000
> server to hpux 11.31

What are you doing where? Which system is
the FTP server and which is the client?

> What is the error message you recieve ??

A fair question. "[It] could not" is not a
useful description of either what you did or
what happened when you did it.
tom quach_1
Super Advisor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

Thank Steven & Avinash,
Sorry for not that clear.
Ftp from windows 2000 server to HPUX 11.31
when i double clicked on the bat file in windows 2000, i could see the DOS screen open up and it was done very quickly.
if the file was small, i could see the file on HPUX 11.31 but if the file was larger than 1M . nothing was sent to HPUX node.
But if the Unix node was a HPUX 11.11 then i could get the file, did not matter the file was small or larger than 1M.

--and both of windows and HPUX servers are on intranet.

Thanks for your replies.
Tom
Steven Schweda
Honored Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

> Sorry for not that clear.

It's not getting better.

> Ftp from windows 2000 server to HPUX 11.31

So, the FTP client is on the Windows system?

Which FTP client program are you using?

> [...] when i double clicked on the bat file
> in windows 2000 [...]

Perhaps if I were looking over your shoulder,
I might be able to see what you were doing,
and with what you were doing it, but I don't
know what "the bat file" is, or at what you
were looking when you clicked on something
or other. I'm sorry that my psychic powers
are so weak.

I'm still wondering what "the same script"
might be.

Are you running some .BAT script? If so, do
you know what's in the script? I sure don't.
Perhaps it would be useful to run some
commands manually instead of running some
script whose output vanishes before you can
see what went wrong.

Or perhaps you should try to explain exactly
what you're doing. (If you know.)
tom quach_1
Super Advisor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

Thanks Steven,

here is the bat file "ftp33-reg.bat"
it contains this line.

ftp -s:C:\winuser\ftp33-reg.txt

and here is the text file "ftp33-reg.txt"
it contains these lines below:


open 10.10.2.137
ftpap1
ftp1pa
cd /SUN/SUNCH/SUBFILE
lcd c:\winuser
put ftp33.txt
close
quit
EOF


---------
10.10.2.137 is an HPUX 11.31
from windows, when i double click on
ftp33-reg.bat ; it will get information from
ftp33-reg.txt and put the file "ftp33.txt"
from windows to UNIX box.
Thanks very much for your help.
Tom



Dennis Handly
Acclaimed Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

>when i double clicked on the bat file in windows 2000

Instead of this, why not use the RUN under the Start, to run CMD in a new window.
Then execute that bat file there and perhaps any errors would be left on your screen.
Steven Schweda
Honored Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

> and here is the text file "ftp33-reg.txt"
> it contains these lines below:
>
> open 10.10.2.137

I don't see how this one file can be used to
talk to two different HP-UX systems.

> Perhaps it would be useful [...]

> Instead of this, [...]

Take the hint(s). A non-psychic like me may
never be able to guess what's going wrong
inside some script or other without some
information about what is actually happening,
~sesh
Esteemed Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

Hi Tom,

Can you try manually logging on to FTP and uploading (putting) the file. If there is any error, it can be reported on the screen (command prompt).

That must help!
Emil Velez
Honored Contributor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

There used to be some patches for FTP that helped on earlyer versions of HPUX. Are you using microsoft ftp. Consider downloading putty or another ftp client on the windows system and seeing if you get on that limitation also.

How long does it take to ftp. You might be hitting a timeout. Checkout the ftp man page to see if you can increase a timeout in the ftpd line in /etc/inetd.conf

tom quach_1
Super Advisor

Re: cannot ftp file larger than 1M from windows to hpux 11.31

Thank you all for your helps.

I ran the command manually as suggested and the large file went thru fine. it was some permission problem on that folder, but it allowed to put small file on it.
after fixing the permission, i can ftp the large file now.
Thanks again for all your inputs.
Regards,
Tom