- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 06:43 AM
тАО07-24-2003 06:43 AM
Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
I have a cron that will FTP certain files every morning. If the file is small it will FTP with no errors. However, a listing on the destination server shows a zero byte file. If I FTP it manually it will be 0 bytes two or three times, then it will be fine two or three times.
This is a major headache? Is there anything I can do to negate this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 06:46 AM
тАО07-24-2003 06:46 AM
Re: Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
1) make sure you have the latest wu-ftpd server from software.hp.com
2) Is the target filesystem full, or close to full.
3) kernel on the target box, nproc, nfiles parameters, may need upward adjustment.
4) Check the file /var/adm/syslog/syslog.log on the target box when this happens.
Report back,
Have fun.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 07:18 AM
тАО07-24-2003 07:18 AM
Re: Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
Use the Net::FTP Perl module and things are trivially easy. If you are using HP-UX 11.11 then the lastest Perl already has Net::FTP installed but otherwise you will need to download and install the module from www.perl.org/CPAN.
The attached script will transfer a file and automatically retry up to 5 times. It puts the files in the /tmp directory on the remotre host in ascii mode. Modify to suit your needs.
You would use it like this:
ftpput.pl file1 file2 file3
STAT=${?}
if [[ ${STAT} -eq 0 ]]
then
echo "OK"
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2003 07:27 AM
тАО07-24-2003 07:27 AM
Re: Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
I do check the files. It retried 45 times this morning and still had the zero byte file on the other end.
Other end is a Windows2k server running Serv-U
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2004 06:50 AM
тАО12-09-2004 06:50 AM
Re: Small Files from HPUX Turn Up 0 Byte on FTP Serv-U
login to ftp server
then type
ftp> passive
and transfer the file
ftp> put xxxx.file
ftp> ls -l
list the files on ftp server
does the file have bytes size to it , i betting it will..
(I dont know what the fix is to default passive mode to on.)