* [Question] Demo apps myftp
@ 2011-05-28 14:44 Nguyễn Phước Thành
2011-05-30 3:25 ` Wei Yongjun
0 siblings, 1 reply; 2+ messages in thread
From: Nguyễn Phước Thành @ 2011-05-28 14:44 UTC (permalink / raw)
To: linux-sctp
In code myftp.c, function command_recv. If filename to save =NULL, fd=1
if ( filename = NULL ) fd = 1;
else if ( (fd =
open(filename,O_WRONLY|O_CREAT|O_TRUNC,S_IREAD|S_IWRITE)) = -1 )
When if receiver file ,Where is this endpoint will save file?
I am trying send file 300MB, but it slow (than 2 hours).And I don't know
where myftp save this file.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Question] Demo apps myftp
2011-05-28 14:44 [Question] Demo apps myftp Nguyễn Phước Thành
@ 2011-05-30 3:25 ` Wei Yongjun
0 siblings, 0 replies; 2+ messages in thread
From: Wei Yongjun @ 2011-05-30 3:25 UTC (permalink / raw)
To: linux-sctp
In code myftp.c, function command_recv. If filename to save =NULL, fd=1
>
> if ( filename = NULL ) fd = 1;
> else if ( (fd = open(filename,O_WRONLY|O_CREAT|O_TRUNC,S_IREAD|S_IWRITE)) = -1 )
>
> When if receiver file ,Where is this endpoint will save file?
> I am trying send file 300MB, but it slow (than 2 hours).And I don't know where myftp save this file.
fd = 1 means that file is output to stdout.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-30 3:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-28 14:44 [Question] Demo apps myftp Nguyễn Phước Thành
2011-05-30 3:25 ` Wei Yongjun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.