Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP with parameterized file names
Message
From
09/06/1998 09:54:35
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00106065
Message ID:
00106280
Views:
23
>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform