Fehlersuche - FTP-Connect
07.11.2004 18:32:38
Tim
Public
Function FileUpload( _
ByVal sLocalFilename As String, _
ByVal sRemoteFilename As String, _
Optional ByVal nTransferType As eTransferType = _
FTP_TRANSFER_TYPE_BINARY) As Boolean
'sLocalFilename = "C:\Windows\Crown\Map.xls"
'sRemoteFileName = "\www\crown\Map.xls"
'nTransferType = 1
'hConnection ist eine Public und speichert die aktive FTP Verbindung
FileUpload = FtpPutFile(hConnection, _
sLocalFilename, sRemoteFilename, nTransferType, 0)
End Function
Kann vielleicht jemand spontan den Fehler sehen, die Funktion gibt immer den Wert "Falsch" zurück