CFtpConnection::PutFile problem under DHCP
Hi,
i am using CFtpConnection class for doing the following operations...
1. Creating directory i FTP server
2. Uploading a file name "Info.xml" (using CFtpConnection::PutFile )
The above two steps working fine under STATIC IP,
if i am under DHCP then 1. Creating directory i FTP server working fine...
2. Uploading a file name "Info.xml" it is Not working, the problem is it is creating a file in FTP server but the contents in that file is ZERO BYTES
Any idea what could be the reason and how to solve this problem
http://www.desktoppack.com
Re: CFtpConnection::PutFile problem under DHCP
Did you tried to check if the upload succeed? And check the last error whit " GetLastError() " function .
Regards,
Gili