Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP via DOS BAT
Message
De
17/07/2003 13:23:37
 
 
À
16/07/2003 09:15:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00810533
Message ID:
00811167
Vues:
16
Hi William,

If all possible, I would rather send the file via VFP8.0 and have a program do it- Much cleaner. But, currently I have not had much experience doing that and I'm using a program written in '99 and all is well except that the client needs the file sent in ascii not Binary.

The programs errors out if I use the binary parameter.
So, if you know where I can get a working FTP for VFP, or some program that uses the WinInet dll, that would be great.
(i.e.)
IF !sz_ftp.PutFtpFile("xsjflcp2.txt", "xsjflcp5.txt")
?sz_ftp.GetErrorCode(.T.)
ENDIF

The put class was:
fResult = FtpPutFile(THIS.nConnect_Handle, @lcLocalFile, @lcRemoteFile, ;
FTP_TRANSFER_TYPE_BINARY, 0)

Errors on this:
fResult = FtpPutFile(THIS.nConnect_Handle, @lcLocalFile, @lcRemoteFile, ;
FTP_TRANSFER_TYPE_ASCII, 0)


Any help would be greatly appreciated.

Craig
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform