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 Batch Script for date filename
Name: ReggieD Date: November 11, 2003 at 12:33:14 Pacific OS: Windows Server 2003 CPU/Ram: Multiple Gigs
Comment:
Hi All, I want to create a batch file that will read a file with format INTyyyymmddhhmm.DAT (where yyyymmddhhmm is the current date and time)from the c:\ drive and FTP this file to a remote server. So far I can make it FTP for file c:\INT* but NEED HELP with making it dynamic ie. read the file with current date and time. The code is as follows:
%windir%\system32\ftp.exe -s:%~f0 goto done open 90.60.136.5 yzyksyg pgtj2als put c:\INT*.DAT bye :done @echo off cls exit
Summary: hi, how to make a ftp batch script that will automatically login to server and automatically transfer the files to local folder.. thanks. hakunamatata ...
Summary: Thing i think i need to make clearer is i need to add copying the files part of script into the batch script i am giving input to. Carl Lewis Sajjan...
Summary: I am trying to write a batch script that moves all files from one network folder to another network folder. On the destination folder, I need to delete any files older than 3 days from after the move...