FTP Collect & Store

Microsoft Windows xp professional w/serv...
June 10, 2010 at 04:07:39
Specs: Windows XP
I would like to write a batch file that opens an FTP connection, collects a file of a specific name, and saves it locally suffixed with the date of collection.

Can anyone help?


See More: FTP Collect & Store

Report •

#1
June 10, 2010 at 07:26:30
@echo off & setlocal
ftp -s:ftp1
set xx=%date:~4,2%%date:~7,2%%date:~10,4
ren target %xx%
::------- end batchscript

ftp1:
open ftpsite
username
password
get target
quit
--------- end


Report •
Related Solutions


Ask Question