Simple automation task
I have a directory on my "client" and a similar director on a remote SFPT server.
I need to regularly (daily, hourly, etc) transfer all the new files to the server, then move them to a local subdirectory archive folder. Between transfers, the server will 'digest' the received files, although at an unpredictable rate.
My thought is I could use PUT to transfer all the files (not including subdirectories) to the server, then run an external script to move the files to the archive. I didn't notice an "exclude sub-directories" switch for PUT, and I didn't see a local move command in the scripting docs. If there's no sub-directory switch, I could move the archive up in the directory tree.
I've only been looking at the problem this morning, so don't rule out a rookie understanding and speed reading errors.
I need to regularly (daily, hourly, etc) transfer all the new files to the server, then move them to a local subdirectory archive folder. Between transfers, the server will 'digest' the received files, although at an unpredictable rate.
My thought is I could use PUT to transfer all the files (not including subdirectories) to the server, then run an external script to move the files to the archive. I didn't notice an "exclude sub-directories" switch for PUT, and I didn't see a local move command in the scripting docs. If there's no sub-directory switch, I could move the archive up in the directory tree.
I've only been looking at the problem this morning, so don't rule out a rookie understanding and speed reading errors.