FTP / Microsoft Server 2003

FTP / Microsoft Server 2003

Postby TimStone » Tue May 22, 2007 10:31 pm

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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests