search cancel

FTP uprocs: files with spaces fail with using bad/illegal format or missing URL

book

Article ID: 257020

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

After upgrading to 6.10.101 a node, the FTP uprocs can't move files with spaces anymore, while on previous versions (6.10.91 or inferior) this was working fine.

Error in Uproc job log:

Thu Nov 10 17:44:10 2022: Passive mode transfer
Thu Nov 10 17:44:10 2022: BINARY mode transfer selected
Thu Nov 10 17:44:10 2022: Connecting to server server.domain.com
Thu Nov 10 17:44:10 2022: Username univa
Thu Nov 10 17:44:10 2022: ---------------------------------------------------------------------------------------------
Thu Nov 10 17:44:10 2022: Beginning the upload of [/tmp/file espace.txt] to the remote file [ftp://server server.domain.com:21//tmp/target/file espace.txt]...
Thu Nov 10 17:44:10 2022: FTP transfer of [/tmp/file espace.txt] failed.
Thu Nov 10 17:44:10 2022: Error detail: URL using bad/illegal format or missing URL
Thu Nov 10 17:44:10 2022: ---------------------------------------------------------------------------------------------
Thu Nov 10 17:44:10 2022: 1 file(s) out of 1 could not be uploaded. Return last status (2).
Thu Nov 10 17:44:10 2022: Connection closed

Environment

Release : 6.10.101 and 7.0.01 only

Component: Dollar Universe Application Server (node)

Context: FTP_GET or FTP_PUT Uprocs

Cause

Defect introduced while upgrading the libcurl library

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Application Server (Node)
Dollar Universe 6.10.102 - Available
Dollar Universe 6.10.111 - Planned to be released in April 2023
Dollar Universe 7.0.11 - Planned to be released in February 2023

Additional Information

Solution description: 

Files with whitespaces not allowed after libcurl library update. To support this behavior, whitespaces are encoded with the code fix.