I am trying to get a file from a server that (in this case) has a comma at the end of its name.
#sc is my ftp connection, tmp is a Tempfile sc.getbinaryfile(fname,tmp.path)
which gives me exception 550 No such file or directory. (Net::FTPPermError) 550 No such file or directory. (Net::FTPPermError) as soon as the file name is something with a comma at the end. In this particular case, fname was BRr1gTuPaQ9USnybt-3F95rxD0VdQ42AT0rS4MeYSPIs2, I also tried to connect to the server via an FTP client - the file definitely exists and can be uploaded.
Do I need to avoid these special characters, such as a comma, or what am I doing wrong?
source share