Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 2928 |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
SendMessage(hWnd, WM_GETTEXT , sizeof(sendfile), (LPARAM)sendfile); |
| 2929 |
if (sendfile[0] != '\0') { |
if (sendfile[0] != '\0') { |
| 2930 |
SSH_start_scp(pvar, sendfile, NULL); |
SSH_start_scp(pvar, sendfile, NULL); |
| 2931 |
//SSH_start_scp(pvar, sendfile, "tmp/foo.chm"); |
//SSH_scp_transaction(pvar, "bigfile30.bin", "", FROMREMOTE); |
| 2932 |
EndDialog(dlg, 1); // dialog close |
EndDialog(dlg, 1); // dialog close |
| 2933 |
return TRUE; |
return TRUE; |
| 2934 |
} |
} |
| 2950 |
return SSH_start_scp(pvar, filename, dstfile); |
return SSH_start_scp(pvar, filename, dstfile); |
| 2951 |
} |
} |
| 2952 |
|
|
| 2953 |
|
__declspec(dllexport) int CALLBACK TTXScpReceivefile(char *remotefile, char *localfile) |
| 2954 |
|
{ |
| 2955 |
|
return SSH_scp_transaction(pvar, remotefile, localfile, FROMREMOTE); |
| 2956 |
|
} |
| 2957 |
|
|
| 2958 |
|
|
| 2959 |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
| 2960 |
LPARAM lParam) |
LPARAM lParam) |
| 2961 |
{ |
{ |
|
|
Legend:
| Removed from v.3089 |
|
| changed lines |
| |
Added in v.3091 |
|
|
| |