Delete source file after FTP File transfer not working
I have the following script that runs. The file is uploaded to the destination but the file is not deleted in the local directory folder after it is successfully transferred. I also tried
I see the following error:
put
and mput
. Any ideas?
open sftp://removed@b2b.maxlinear.com/ -hostkey="removed" bin option batch continue option confirm off option reconnecttime 10 option failonnomatch on lcd D:\EDI\B2BExporter\Picklists\CARS-MY-XNET cd /MaxLinear/crsb2b/outbound put -delete D:\EDI\B2BExporter\Picklists\CARS-MY-XNET\*.csv /MaxLinear/crsb2b/outbound/ exit
2021-10-21 14:36:42.953 Cached directory change via "/MaxLinear/crsb2b/outbound" to "/MaxLinear/crsb2b/outbound". . 2021-10-21 14:36:42.953 Getting current directory name. < 2021-10-21 14:36:42.953 Script: /MaxLinear/crsb2b/outbound > 2021-10-21 14:36:42.953 Script: put -delete D:\EDI\B2BExporter\Picklists\CARS-MY-XNET\*.csv /MaxLinear/crsb2b/outbound/ < 2021-10-21 14:36:42.953 Script: Using configured transfer settings different from factory defaults.