April 24, 20196 yr I don't see a function to move file from FTP root to a sub folder and create directories on the fly (if they don't exist) - is this something that is done with RENAME or would come kind of execute command be needed?
April 25, 20196 yr So it looks like the FTPeek_Rename function requires that the "to" file path be the same as the "from" file path, so it won't have the ability to create directories on the fly. We do currently have a feature request for the same type of functionality, so we are currently looking into adding that. Please feel free to check back on occasion for that functionality but I will also keep you updated when we are able to determine if that is a possibility. Thank you! Joshua
April 25, 20196 yr Author So i was able to move a file from /root/filename.txt to /root/fmp/20190425/filename.txt the /fmp/ directory is known, and each pass I create the folder in the directory it seems to create the directory but never returns a 1 When using function as script step for FTPeek_Rename i don't see any way to trap the result of the function. As it never returns 1 on success even though it succeeded. it appears that rename only works if your change directory to (in my case) /root/fmp/ i am able to create and move from root to destination folder
Create an account or sign in to comment