Fixed IBM zOS MVS File uploading
Fixed IBM zOS MVS File uploading

An issue with my previous implementation is that it is assuming you are always trying to upload to a PO (Physical Organization) and would throw the error "Unable to upload, use MVS naming convention" when trying to upload to other locations.. So I only fixed half the problem.

By just sending the filename into the STOR command rather than the full file path, the STOR command is intelligent enough to determine if the target location is a Physical Organization and append the (<filename>) convention to upload to a Partitioned Data Set. It also can append the .<filename> convention if it is a Physical Sequential location and upload it like a normal file rather than a PDS.
robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP