Search found 2 matches
- 10 Mar 2009 19:58
- Forum: DOS Batch Forum
- Topic: FTP to pass current date
- Replies: 2
- Views: 6480
Resolved
Hi, Resolved, these could help others. @echo off Rem Enable delayed execution Setlocal ENABLEDELAYEDEXPANSION Rem Store Server Variable Set FTPSite=111.111.1.1 Rem Store Login User Set uname=myusername Rem Store Password User Set password=mypassword Rem Store YYYYMMDD 'YearMonthDay' Set Year=%date:~...
- 09 Mar 2009 04:18
- Forum: DOS Batch Forum
- Topic: FTP to pass current date
- Replies: 2
- Views: 6480
FTP to pass current date
Hi, Anyone can help me on how to pass the current using ftp. The file I have on my Unix OS to get the file YYYMMDD.txt. Everyday will get the current file using the said format. Here is my batch file ; REM ftpconnect.bat ftp -i -s:c:\putfilehere\ftpconnect.prg server1 REM ftpconnect.prg myuser mypas...