by jackfido » Thu Jul 22, 2010 2:57 am
I have the same problem, i was making a class in java in where i use the edtFTPj, and i conect to a mainframe z/OS, but i still have a dude, when i do a get/put method, how i need write it in my class?
i have the next line code in my class
for get:
client.get(objectFile.getName()); (where client is a FTPClient object, and object file is my file name)
for put:
client.put(str_fileName, str_name, false); (same case client is FTPClient object, str_fileName is my file name on mainframe, str_name is the new file which i will upload to a mainframe)
i need make some as this:
for get:
client.get("'" + objectFile.getName() + "'");
for put:
client.put(str_fileName, "'" + str_name + "'", false);
???? thnx