我创建了一个批处理文件,该文件将文件从UNIX(Solaris)服务器移动到Windows XP计算机。 在此过程中,它将文件从UNIX服务器上删除。
我想做的是,一旦将文件传输到"本地"计算机(已安装WinSCP程序)上,我希望将其中一些文件复制到另一个本地(映射的网络驱动器)文件夹中 。
我想(仅)将放在C:\DICOM文件夹中的文件复制到L:\dicomrt文件夹中。
这是我最初使用的内容:
# Created by Daniel E. Cronk to transfer images from the Pinnacle RT station to the LinAc computer.
# Comment out the next two lines to test
option batch on
option confirm off
# Connect - format: user:password@host
open ftp://username:password@hostname
# Change remote directory
cd /files/network/DICOM
# Change Local Directory
lcd C:\DICOM
# Force binary mode transfer
option transfer binary
# Download backup file to the local directory
get -delete RT*.dcm
get -delete CT*.dcm
get -delete MR*.dcm
# Disconnect
close
# Exit WinSCP
exit
那些"某些文件"是什么? 您如何将他们与其他人区分开?