Computing.Net > Forums > OpenVMS > FTP file from OpenVMS to Windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

FTP file from OpenVMS to Windows

Reply to Message Icon

Name: barcand
Date: June 23, 2006 at 11:05:54 Pacific
OS: OpenVMS 7.3-2 and Windows
CPU/Ram: Xeon / 4 gig
Product: Alpha and Dell
Comment:

I need a batch file that I can schedule on the Windows 2003 server that logs into the FTP user of the OpenVMS box and ftp's files daily from 2 different directories. But the files need to be for the current day only no older files should be transferred. Please let me know a way I can accomplish this? Your feedback is much appreciated.


Brian



Sponsored Link
Ads by Google

Response Number 1
Name: ray.pradip
Date: June 26, 2006 at 03:31:24 Pacific
Reply:

ftp -s "ftrans.ftp"

ftrans.ftp
open ipaddress
username
password
cd path
mget filename;
bye



0

Response Number 2
Name: KellyS
Date: June 26, 2006 at 13:29:24 Pacific
Reply:

Assuming that the transfer happens at a predictable time, you can schedule a daily batch job on the VMS node, which can either:

1) Purge the directories or specific files in question so that there are no old files to transfer, or

2) Create a FTP script that GETs the specific files for that day - the Windows batch job, when it runs, would first GET the FTP script, then execute it.

Actually, these suggestions don't even have to run as batch jobs; they could run as part of the FTP login command file.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: FTP file from OpenVMS to Windows

convert vms files to windows www.computing.net/answers/openvms/convert-vms-files-to-windows/444.html

Transfering files from OpenVMS www.computing.net/answers/openvms/transfering-files-from-openvms/161.html

Unable to import file from OpenVMS www.computing.net/answers/openvms/unable-to-import-file-from-openvms/433.html