Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP with parameterized file names
Message
De
09/06/1998 09:54:35
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00106065
Message ID:
00106280
Vues:
24
>I am downloading a new file each day off of an ftp server. I have written a script to do this, ftp -s:pjmftp.scr. This runs great but I would like to either pass a file name parameter to this script or have it use an environment variable in the get command. I tried the dos batch file method and it didn't work. The file name is as so:
>19980608.csv. It changes each day in DTOS() format.
>
>Any Ideas?

Is this associated with a VFP program that uses the data? I have a program that RUNs a BAT file containing the FTP command after it "modifies" the script to change the GET statements. Works like a champ.
John White [MOST]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform