Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP suddenly return problem
Message
De
12/12/2006 13:59:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01176778
Message ID:
01176950
Vues:
16
>hi all,
>i have several small programs that have been developed over the years for different customers. i am in the middle of consolidating these into one application for ease of maintainance and everything is going ok except for an ftp app we have. it copies files, zips and encrypts and then sends them to an ftp server for backup. the line of code below always worked without a problem, returning a value other than 0. now it is returning 0, indicating a failed send, but sending the file correctly!
>
>lhFTPFile = FtpPutFile(lhFTPSession, FTPsendfile, FTPsendfile, 2, 0)
>
>any ideas would be great

For critical stuff, I get the file back under a different name, then compare the files (filetostr(theFile)==filetostr(ReturnedCopyOfFile)), and then delete this temp file.

I'm using Chilkat freebie OCX, and didn't have this problem, but then I assume it's also just a wrapper around the API. At least it would return some meaningful error text, not just a zero.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform