MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SendFilePASV

Method SendFilePASV

UTCP/src/ftp_c.cpp:1042–1045  ·  view source on GitHub ↗

SendFilePASV Sends the specified local file to the given destination on the currently connected FTP site. This routine duplicates the SendFilePASV() member, but in this routine the client originates data connections. Client side origination of data connections is preferred for use in firewall controlled environments. Params sourceFile - name of

Source from the content-addressed store, hash-verified

1040 UTE_CONNECT_TIMEOUT - connection time out
1041****************************************/
1042int CUT_FTPClient::SendFilePASV(LPCTSTR sourceFile,LPCSTR destFile){
1043 CUT_FileDataSource ds(sourceFile);
1044 return SendFilePASV(ds, destFile);
1045}
1046
1047/***************************************
1048SendFilePASV

Callers

nothing calls this directly

Calls 4

SSLSetReuseSessionMethod · 0.80
CloseConnectionMethod · 0.80
ConnectMethod · 0.45
SendMethod · 0.45

Tested by

no test coverage detected