Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


boylea
2010-07-20T17:56:32Z
I'm a new VisualCron user having trouble FTPing some save files from an iSeries/OS400 using VisualCron. I am able to complete the transfer successfully through the command line or a batch file, but receive the following errors when using an FTP task in VisualCron:

7/19/2010 12:20:30 PM Debug Job (1) was added to processlist: Off-Site Backups
7/19/2010 12:20:30 PM Debug Task (1) was added to processlist:
7/19/2010 12:20:31 PM Info Task started: (1)
7/19/2010 12:20:31 PM Debug FTP Command Count: 3
7/19/2010 12:20:32 PM Debug ServerSystem: 'V5R4M0'
7/19/2010 12:20:32 PM Debug FTP path separator: 'B'
7/19/2010 12:20:33 PM Debug ServerSystem: 'V5R4M0'
7/19/2010 12:20:33 PM Debug FTP path separator: 'B'
7/19/2010 12:20:33 PM Debug Current path: BACKUPS
7/19/2010 12:20:33 PM Debug Change path before: BACKUPS
7/19/2010 12:20:33 PM Debug Change path after: BACKUPS
7/19/2010 12:20:33 PM Debug Changing path to: BACKUPS
7/19/2010 12:20:33 PM Debug Current path: BACKUPS
7/19/2010 12:20:33 PM Debug Custom directory listing: 'ADAM 6348103680 07/16/10 20:58:10 *FILE ITIPOSTBKP'
7/19/2010 12:20:33 PM Err Custom FTP parsing failed (V5R4M0): 'ADAM 6348103680 07/16/10 20:58:10 *FILE ITIPOSTBKP'
7/19/2010 12:20:33 PM Debug Custom directory listing: 'ADAM 6258450432 07/16/10 19:38:03 *FILE ITIPREBKP'
7/19/2010 12:20:33 PM Err Custom FTP parsing failed (V5R4M0): 'ADAM 6258450432 07/16/10 19:38:03 *FILE ITIPREBKP'
7/19/2010 12:20:33 PM Debug Before download
7/19/2010 12:20:33 PM Debug After download
7/19/2010 12:20:34 PM Debug ServerSystem: 'V5R4M0'
7/19/2010 12:20:34 PM Debug FTP path separator: 'B'
7/19/2010 12:20:34 PM Debug Commands done
7/19/2010 12:20:34 PM Debug Before dispose
7/19/2010 12:20:34 PM Debug Disposing timer
7/19/2010 12:20:34 PM Debug Trying to disconnect
7/19/2010 12:20:34 PM Debug Stopping watch
7/19/2010 12:20:34 PM Debug Before GetOutput
7/19/2010 12:20:34 PM Debug Before RaiseTaskCompleted
7/19/2010 12:20:34 PM Info Task completed: (1)

The task says it completes successfully even though it fails to parse the contents of the Directory I am connecting to. I am also unable to view the contents of this directory through the FTP Explorer tool. I have tried issuing the QUOTE SITE NAMEFMT 0 command as a custom command, but that did not help. Any iSeries users know what I am overlooking?

I also tried to use VisualCron to launch a batch file that initiates the FTP as a workaround. The batch file works great when I launch it independently, so I know my syntax is not the problem, but when it is launched from a VisualCron task, it only transfers the first of the two files and then ends. Is there some type of global timeout for processes launched by VC (these are 6 GB+ files, so the transfer does take quite a bit of time)?

I appreciate any help provided.
Sponsor
Forum information
Support
2010-07-20T17:57:39Z
Please test the attached version.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
boylea
2010-07-20T18:08:16Z
Thanks for the quick response. Unfortunately I still get the same FTP result using the new build.

7/20/2010 11:07:34 AM Debug Custom directory listing: 'ADAM 6388473856 07/19/10 20:53:10 *FILE ITIPOSTBKP'
7/20/2010 11:07:34 AM Err Custom FTP parsing failed (V5R4M0): 'ADAM 6388473856 07/19/10 20:53:10 *FILE ITIPOSTBKP'
7/20/2010 11:07:34 AM Debug Custom directory listing: 'ADAM 6309306368 07/19/10 19:28:21 *FILE ITIPREBKP'
7/20/2010 11:07:34 AM Err Custom FTP parsing failed (V5R4M0): 'ADAM 6309306368 07/19/10 19:28:21 *FILE ITIPREBKP'

I did not test launching the batch file using a task. Did you want that tested as well?
Support
2010-07-20T18:09:29Z
No, we will take a look at that output error. Thank you for your patience.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2010-07-20T19:05:20Z
We have a new build. You need to uninstall current first.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
boylea
2010-07-20T22:34:50Z
The latest build got me closer. I no longer get the parsing errors when retrieving the directory list. It is treating the save files in the library as directories rather than files, though, so I am still not able to download. On the FTP download task, if I select the option to include sub-directories, I get a 550 - Directory does not exist error (which is accurate, as the name of the 'directory' is actually a file). If I de-select the include sub-directories option, the task simply skips over the files and goes to successful completion. Any ideas?

Log including sub-directories
7/20/2010 3:15:46 PM Debug Change path before: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:15:46 PM Debug Change path after: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:15:46 PM Debug Changing path to: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:15:46 PM Debug Current path: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:15:46 PM Debug Custom directory listing: 'ADAM 6388473856 07/19/10 20:53:10 *FILE ITIPOSTBKP.SAVF'
7/20/2010 3:15:46 PM Debug Custom directory listing: 'ADAM 6309306368 07/19/10 19:28:21 *FILE ITIPREBKP.SAVF'
7/20/2010 3:15:46 PM Debug Before download
7/20/2010 3:15:46 PM Debug After download
7/20/2010 3:15:47 PM Debug Custom directory listing: 'ADAM 6388473856 07/19/10 20:53:10 *FILE ITIPOSTBKP.SAVF'
7/20/2010 3:15:47 PM Debug Custom directory listing: 'ADAM 6309306368 07/19/10 19:28:21 *FILE ITIPREBKP.SAVF'
7/20/2010 3:15:47 PM Debug Current path: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:15:47 PM Debug Change path before: /QSYS.LIB/BACKUPS.LIB/ITIPOSTBKP.SAVF
7/20/2010 3:15:47 PM Debug Change path after: /QSYS.LIB/BACKUPS.LIB/ITIPOSTBKP.SAVF
7/20/2010 3:15:47 PM Debug Changing path to: /QSYS.LIB/BACKUPS.LIB/ITIPOSTBKP.SAVF
7/20/2010 3:15:47 PM Err Exception in Task: Unaccepted server reply (error code is 550)
7/20/2010 3:15:47 PM Err Error changing to FTP folder: Unaccepted server reply (error code is 550) (550-Specified directory does not exist or cannot be accessed.
550 Working directory not changed.


Log Excluding sub-directories
7/20/2010 3:16:55 PM Debug Change path before: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:16:55 PM Debug Change path after: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:16:55 PM Debug Changing path to: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:16:55 PM Debug Current path: /QSYS.LIB/BACKUPS.LIB
7/20/2010 3:16:55 PM Debug Custom directory listing: 'ADAM 6388473856 07/19/10 20:53:10 *FILE ITIPOSTBKP.SAVF'
7/20/2010 3:16:55 PM Debug Custom directory listing: 'ADAM 6309306368 07/19/10 19:28:21 *FILE ITIPREBKP.SAVF'
7/20/2010 3:16:55 PM Debug Before download
7/20/2010 3:16:55 PM Debug After download

7/20/2010 3:16:55 PM Debug Commands done
7/20/2010 3:16:55 PM Debug Before dispose
7/20/2010 3:16:55 PM Debug Disposing timer
7/20/2010 3:16:55 PM Debug Trying to disconnect
7/20/2010 3:16:55 PM Debug Stopping watch
7/20/2010 3:16:55 PM Debug Before GetOutput
7/20/2010 3:16:55 PM Debug Before RaiseTaskCompleted
7/20/2010 3:16:55 PM Info Task completed: (7)
Support
2010-07-21T10:11:04Z
Strange, we have some users that are already using this on their V5R4M0 server systems - and it is working. What is special about this system that *FILE has always been treated as a directory while *MEM are the actual files.

I am not sure why your system is different. It also contain another date format. If you have any insight regarding this then please let us know.

By the way, is 6388473856 really the file size?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top