scp_sftp_filehandle = fxp_open_recv(pktin);
scp_sftp_filehandle = fxp_open_recv(pktin, rreq);
int scp_send_filename(char *name, unsigned long size, int modes){    if (using_sftp) {	char *fullname;	struct sftp_packet *pktin;	struct sftp_request *req, *rreq;	if (scp_sftp_targetisdir) {	    fullname = dupcat(scp_sftp_remotepath, "/", name, NULL);	} else {	    fullname = dupstr(scp_sftp_remotepath);	}	sftp_register(req = fxp_open_send(fullname, SSH_FXF_WRITE |					  SSH_FXF_CREAT | SSH_FXF_TRUNC));	rreq = sftp_find_request(pktin = sftp_recv());	assert(rreq == req);	scp_sftp_filehandle = fxp_open_recv(pktin);	if (!scp_sftp_filehandle) {	    tell_user(stderr, "pscp: unable to open %s: %s",		      fullname, fxp_error());	    errs++;	    return 1;	}	scp_sftp_fileoffset = uint64_make(0, 0);	sfree(fullname);	return 0;    } else {	char buf[40];	sprintf(buf, "C%04o %lu ", modes, size);	back->send(backhandle, buf, strlen(buf));	back->send(backhandle, name, strlen(name));	back->send(backhandle, "\n", 1);	return response();    }}