When trying to download a file, if the routine is run with a direct internet connection, the following code segment is OK ... but if it is run through Windows Server 2003 ( Microsoft ), it will not upload the file successfully.
On the same computer, with IPSwitch, the FTP connection is fine.
Does anyone have any thoughts on this ?
hInternet = InternetOpen( "ASW", 1,0,0,0 )
hconnect := InterNetConnect( hInternet, mCLinkFt, 0, mCLinkUn, mCLinkPw, 1, 0, 0 )
IF hconnect == 0
MsgAlert( "Your connection was not established - there will be no file transfer" )
ELSE
IF FTPPutFile( hConnect, cUpFile, cUpFile, 0, 0 )
ELSE
MsgAlert( "Upload was unsuccessful )
ENDIF
The problem occurs on XP Pro and Vista computers.
We get to this point, and then the message is returned that the transfer was not successful ...
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit