[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wput
Hi,
tried the following yesterday:
dd if=/dev/ide/host0/bus0/target0/lun0/part1 | gzip | wput \
ftp://userid:passwd@host/home/userid/part1.gz
It didn't work out. Segmentation faults mostly or the input
was written to screen. All variations of '--input-file=-',
'-i -' with '--binary' or finally 'wput --input-pipe=`dd \
if=/dev/ide/host0/bus0/target0/lun0/part1 | gzip -` \
ftp://userid:passwd@host/home/userid/part1.gz' gave the same
results.
I got it working finally by putting the 'dd' and 'gzip' commands
in a shell-script and using the scriptname as an argument for
the --input-pipe option.
This was on a PXE netbooted system from debian-installer, Linux
kernel version 2.4.26-1-386 from within ash (static shell).
Hope you can inprove your wput (when does wls come out? ;-) )
with this, or else ask for more info. Keep up the good work!
Sincerely,
Jan.
- Follow-Ups:
- Re: wput
- From: Hagen Fritsch <hagen@itooktheredpill.dyndns.org>