Re: 0 byte file transfer problem in scp
From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 05/08/05
- Previous message: Sanjay: "0 byte file transfer problem in scp"
- In reply to: Sanjay: "0 byte file transfer problem in scp"
- Next in thread: c0ldbyte: "Re: 0 byte file transfer problem in scp"
- Reply: c0ldbyte: "Re: 0 byte file transfer problem in scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 8 May 2005 01:51:18 -0400
On 7 May 2005 05:03:37 -0700, Sanjay
<sanjay2kind@yahoo.com> wrote:
>
> I am using scp for file transfer. There is a problem with uploading 0
> byte file. First time able to transfer file, when the file is not
> available at target host, but afterwards it is not overwritting the
> same file with 0 byte. It works fine with non-zero file size. Here only
> file creation time differ. File permission is read,write. Do not show
> error during scp too.
>
> scp test.dat uscp@host:./
>
> Can anyone tell the solution/problem here !!
>
ssh uscp@host touch test.dat
{ echo "rm test.dat"; echo "put test.dat" } | sftp uscp@host
or upload a zip or tar.gz containing the zero byte file...
-- Test-tube babies shouldn't throw stones.
- Previous message: Sanjay: "0 byte file transfer problem in scp"
- In reply to: Sanjay: "0 byte file transfer problem in scp"
- Next in thread: c0ldbyte: "Re: 0 byte file transfer problem in scp"
- Reply: c0ldbyte: "Re: 0 byte file transfer problem in scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|