Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwIPStuff - FTPCommand
Message
De
03/06/2003 08:58:39
 
 
À
02/06/2003 12:14:02
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00795283
Message ID:
00795606
Vues:
18
Follow Up:

wwIPStuff has another function called aFTPDir() which returns a list of files and their attributes. Thanks to RickS for the answer.



>Hi All.
>
>I am using wwIPstuff Version 4.25. I am trying to use the FTPCommand(). I can connect to the FTP server ok. I can retrieve a file ok. But when I try to use the FTPCommand to "LIST" the folder contents it always comes back with a success flag but an empty list. Sample from wwIPStuff help:
>
>
>oFTP = CREATE("wwFTP")
>? oFTP.FTPConnect("myftpserver.com")  && returns 0 = success
>
>lcResult = space(1025)
>lnSize=1024
>
>? oFTP.FTPCommand("LIST",@lcResult,@lnSize) && returns 0 = success
>? lcResult  && always returns original (blank) string?
>
>
>
>Has anyone got this to work? Also, related to this, is there a quick way to get the file size of a specific file as opposed to issuing the "LIST" command to get all files and file sizes?
>
>Thanks.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform