I am a little stuck. I have found, for the most part, how to create a
VBS script to login to a remote FTP server. The hard part has been
finding scripting that works to copy *folders* based on their
timestamp (within last 15 minutes). Most of the scripting I am
finding is only for copying files based on timestamp which will not
really work for this situation.

I am also a little unsure about how to combine these two scripts since
I am assuming different FTP commands must be used while trying to copy
folders from the remote FTP to a local server. Does anyone have any
ideas or suggestions?

Thanks,

Re: Script to automate FTP session, copy folders based on timestamp by heintz

heintz
Tue Mar 04 16:20:58 CST 2008

On Mar 4, 3:13=A0am, Rich <coh.techsupp...@gmail.com> wrote:
> I am a little stuck. =A0I have found, for the most part, how to create a
> VBS script to login to a remote FTP server. =A0The hard part has been
> finding scripting that works to copy *folders* based on their
> timestamp (within last 15 minutes). =A0Most of the scripting I am
> finding is only for copying files based on timestamp which will not
> really work for this situation.
>
> I am also a little unsure about how to combine these two scripts since
> I am assuming different FTP commands must be used while trying to copy
> folders from the remote FTP to a local server. Does anyone have any
> ideas or suggestions?
>
> Thanks,

If you can not get the last modified or last accessed time from a
batch file command, I would create another script or a sub/function
that connects to the ftp server and the directory(ies) you need and
pull the last modified/accessed date. This obviously will only work if
you admin access to the ftp server.

Larry