Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. for /f "tokens=1,2,3 delims=/- " %%x in ("%date%") do set d=%%z%%y%%x
  2. for /f "tokens=1,2,3 delims=:. " %%x in ("%time%") do set t=%%x%%y%%z
  3. set logfile="D:\FTP%d%_%t%.log"
  4. set Source="\srcpath"
  5. set Server="servername"
  6. set UserName="id"
  7. set Password="pwd"
  8. set File="ABC.TXT.yyyyMMdd"
  9.  
  10. set FtpLocation="/home/TEST"
  11. perl Getfile.pl %Source% %server% %UserName% %Password% %FtpLocation% %File% >> %logfile% 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement