Delete source file after FTP File transfer not working

Advertisement

tolaes@maxlinear.com
Joined:
Posts:
2
Location:
California

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 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
I see the following error:
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.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Delete source file after FTP File transfer not working

There's no error in the log snippet you have posted. Please attach complete log file.

Reply with quote

Advertisement

You can post new topics in this forum