How to set up automatic archiving after scheduled uploading.

Core FTP client questions and answers
Locked
mgolden
Posts: 3
Joined: Tue Dec 13, 2011 7:06 pm

How to set up automatic archiving after scheduled uploading.

Post by mgolden »

I am fairly new to CoreFTP but enjoy using it so far. I use this software daily with automatic uploading/downloading occurring every 30 minutes with multiple hosts. On one of these schedules I have set up, I would like to automatically archive the files after the scheduled upload.

Is it possible to set up CoreFTP to automatically archive my files after they have been uploaded to the host?
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

For uploads you would use:

Advanced -> External -> post upload -> cmd.exe /c move %1 c:\archives\

in your site profile.
mgolden
Posts: 3
Joined: Tue Dec 13, 2011 7:06 pm

Post by mgolden »

Thank you very much! Makes perfect sense. Do I need a return code as well?
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

I believe it's usually zero, but you can verify it by looking at the %ERRORLEVEL% environment variable from a command line (cmd.exe)
Locked