Demo apps myftp
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.
In code myftp.c, function command_recv. If filename to save =NULL, fd=1
Quoted 6 lines
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.
Quoted 5 lines
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html