Re: Delete source file after FTP File transfer not working
Thanks for responding Martin! I gave up and using PowerShell to do it.
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.