I'm trying to connect to a FTP AS/400 server using .NET, with a url like this:
ftp://server.com/folder/file.csv
I'm getting a 501 error in return, and according to this question it's due to the path separator or AS/400 not working with regular paths without setting NAMEFMT to 1.
Since I'm using the FTPWebRequest object, is there any way I can set NAMEFMT to 1 with a FTPWebRequest?