Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

ftp file upload not working

$
0
0

Hi i am trying to use this code to upload a file to ftp server on my computer with FileSilla

the file is not being uploaded

CFtpConnection *pConn = NULL; CInternetSession session; pConn = session.GetFtpConnection(_T("127.0.0.1"),_T("hassan"),_T("123"),INTERNET_INVALID_PORT_NUMBER); CFtpFileFind find(pConn); pConn->PutFile("c:\\testing.txt","testing.txt",FTP_TRANSFER_TYPE_BINARY,1);

Any idea what is causing the problem

Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>