Community forum

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


udiserversupport
2012-06-19T18:57:33Z
I’m having issues running gets and puts to an as400's ftp server. If I run the native windows FTP it works fine. if I call a bat file that calls ftp with an input file it works fine. If I try to build the get or put in Vcron it fails. the cmd set looks wrong. I’m pulling member files from Libs. file names are long. if I send the help cmd I get the remote help cmds(the raw ftp cmd set) get and put are not recognized. and there is not root folder. I also tried the custom ftp option and got further but still cannot get or put even with passing the raw cmds. has anyone had a similar issue. I would like to have the notification on the FTP task, and running a bat file does not allow me to report an error with vcron variables.
Sponsor
Forum information
Support
2012-06-20T06:53:35Z
Turn on extended debugging and run the Task. If there is any problem parsing the message it should be located in the log file (log_serverDATE.txt). Please extract those lines and paste here.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-20T14:52:25Z
Note I looked at online doc to turn on extended debugging I did not find it im running 6.1.0

Running Custom CMD :
Standard output

220-QTCP at CHATHOSTe.
220 Connection will close if idle more than 5 minutes.

USER transfer
331 Enter password.

PASS ********
230 TRANSFER logged on.

FEAT


211-Feature listing follows:
AUTH TLS
CCC
PBSZ
PROT
211 End of feature listing.

SYST
215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".

PWD
257 "QGPL" is current library.

PWD
257 "QGPL" is current library.

get proddta/p1751dd.p1751fda Merastar_daily.dat

500 Subcommand GET not valid.

get proddta/p1751dd.p1751fda Merastar_daily.dat


ServerLOG
6/20/2012 10:40:44 AM Info Job started: TEst
6/20/2012 10:40:44 AM Debug Job (494) was added to processlist: TEst
6/20/2012 10:40:44 AM Info Skipping Condition check because the Job was run manually.
6/20/2012 10:40:44 AM Debug Next action: ActionContinue
6/20/2012 10:40:44 AM Debug Calling GetNextTaskProcess()
6/20/2012 10:40:44 AM Debug Next Task is: Get File from AS400-1
6/20/2012 10:40:44 AM Debug Next action: ActionContinue
6/20/2012 10:40:44 AM Debug Calling StartTaskProcess() with Task: Get File from AS400-1 (0)
6/20/2012 10:40:44 AM Debug Task (880) was added to processlist: Get File from AS400-1
6/20/2012 10:40:44 AM Info User 'VisualCron Default Admin' - Ran Job: TEst
6/20/2012 10:40:44 AM Info Task started: Get File from AS400-1 (880)
6/20/2012 10:40:44 AM Debug Entering wait loop. Get File from AS400-1 (880)
6/20/2012 10:40:45 AM Debug FTP Command Count: 1
6/20/2012 10:40:45 AM Err Could not insert GeneralLog in local database: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
6/20/2012 10:40:46 AM Debug ServerSystem: 'V6R1M0'
6/20/2012 10:40:46 AM Debug FTP path separator: 'Q'
6/20/2012 10:40:46 AM Debug Commands done
6/20/2012 10:40:46 AM Debug Before dispose
6/20/2012 10:40:46 AM Debug Disposing timer
6/20/2012 10:40:46 AM Debug Trying to disconnect
6/20/2012 10:40:46 AM Debug Stopping watch
6/20/2012 10:40:46 AM Debug Before GetOutput
6/20/2012 10:40:46 AM Debug Before RaiseTaskCompleted
6/20/2012 10:40:46 AM Info Task completed: Get File from AS400-1 (880)
6/20/2012 10:40:46 AM Debug Process status - About to RemoveTaskProcess (880)
6/20/2012 10:40:46 AM Debug Setting previous task in TaskProcessCompleted: Get File from AS400-1 (9eef45c2-bb79-4cc2-ab10-fd5f3bfc0d10) in job: TEst
6/20/2012 10:40:46 AM Debug Process status - About to SendTaskProcess (880)
6/20/2012 10:40:46 AM Debug Process status - About to RemoveTaskProcess (880)
6/20/2012 10:40:46 AM Debug Task (880) was removed from processlist: Get File from AS400-1
6/20/2012 10:40:46 AM Debug Sleep ended because Task ended.Get File from AS400-1 (880)
6/20/2012 10:40:46 AM Debug TaskWaitQueue.Dequeued.Get File from AS400-1 (880)
6/20/2012 10:40:46 AM Debug Else (1)Get File from AS400-1 (880)
6/20/2012 10:40:46 AM Debug End of loop - iterating again.Get File from AS400-1 (880)
6/20/2012 10:40:46 AM Debug Calling GetNextTaskProcess()
6/20/2012 10:40:46 AM Debug Job (494) was removed from processlist: TEst
6/20/2012 10:40:46 AM Debug Next execution (2) for job 'TEst' is: 12:00:00 AM
6/20/2012 10:40:46 AM Info Job completed: Test


Running FTP Download native option
6/20/2012 10:45:58 AM Info Job started: TEst
6/20/2012 10:45:58 AM Debug Job (495) was added to processlist: TEst
6/20/2012 10:45:58 AM Info User 'VisualCron Default Admin' - Ran Job: TEst
6/20/2012 10:45:58 AM Info Skipping Condition check because the Job was run manually.
6/20/2012 10:45:58 AM Debug Next action: ActionContinue
6/20/2012 10:45:58 AM Debug Calling GetNextTaskProcess()
6/20/2012 10:45:58 AM Debug Next Task is: Get File from AS400-1
6/20/2012 10:45:58 AM Debug Next action: ActionContinue
6/20/2012 10:45:58 AM Debug Calling StartTaskProcess() with Task: Get File from AS400-1 (0)
6/20/2012 10:45:58 AM Debug Task (881) was added to processlist: Get File from AS400-1
6/20/2012 10:45:58 AM Info Task started: Get File from AS400-1 (881)
6/20/2012 10:45:58 AM Debug FTP Command Count: 1
6/20/2012 10:45:58 AM Debug Entering wait loop. Get File from AS400-1 (881)
6/20/2012 10:45:58 AM Err Could not insert GeneralLog in local database: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
6/20/2012 10:45:59 AM Debug ServerSystem: 'V6R1M0'
6/20/2012 10:45:59 AM Debug FTP path separator: 'Q'
6/20/2012 10:45:59 AM Debug Current path: QGPL
6/20/2012 10:45:59 AM Debug Change path before: proddta
6/20/2012 10:45:59 AM Debug Change path after: proddta
6/20/2012 10:45:59 AM Debug Changing path to: proddta
6/20/2012 10:45:59 AM Debug Current path: PRODDTA
6/20/2012 10:46:12 AM Debug Saving Jobs
6/20/2012 10:47:00 AM Err Unhandled error in GetFolderContents, ex: Control channel transfer error
6/20/2012 10:47:00 AM Debug Before download
6/20/2012 10:47:00 AM Debug After download
6/20/2012 10:47:00 AM Debug Disposing timer
6/20/2012 10:47:00 AM Debug Trying to disconnect
6/20/2012 10:47:47 AM Debug Stopping watch
6/20/2012 10:47:47 AM Debug Commands done
6/20/2012 10:47:47 AM Debug Before GetOutput
6/20/2012 10:47:47 AM Debug Before dispose
6/20/2012 10:47:47 AM Debug Before RaiseTaskCompleted
6/20/2012 10:47:47 AM Debug Disposing timer
6/20/2012 10:47:47 AM Info Task completed: Get File from AS400-1 (881)
6/20/2012 10:47:47 AM Debug Trying to disconnect
6/20/2012 10:47:47 AM Debug Process status - About to RemoveTaskProcess (881)
6/20/2012 10:47:47 AM Debug Stopping watch
6/20/2012 10:47:47 AM Debug Setting previous task in TaskProcessCompleted: Get File from AS400-1 (9eef45c2-bb79-4cc2-ab10-fd5f3bfc0d10) in job: TEst
6/20/2012 10:47:47 AM Debug Before GetOutput
6/20/2012 10:47:47 AM Debug Process status - About to SendTaskProcess (881)
6/20/2012 10:47:47 AM Debug Before RaiseTaskCompleted
6/20/2012 10:47:47 AM Info Task completed: Get File from AS400-1 (881)
6/20/2012 10:47:47 AM Debug Process status - About to RemoveTaskProcess (881)
6/20/2012 10:47:47 AM Debug Task (881) was removed from processlist: Get File from AS400-1
6/20/2012 10:47:47 AM Info Task process was aborted by user.
6/20/2012 10:47:47 AM Debug Process status - About to RemoveTaskProcess (881)
6/20/2012 10:47:47 AM Debug Setting previous task in TaskProcessCompleted: Get File from AS400-1 (9eef45c2-bb79-4cc2-ab10-fd5f3bfc0d10) in job: TEst
6/20/2012 10:47:47 AM Debug Process status - About to SendTaskProcess (881)
6/20/2012 10:47:47 AM Debug Process status - About to RemoveTaskProcess (881)
6/20/2012 10:47:47 AM Debug Sleep ended because Task ended.Get File from AS400-1 (881)
6/20/2012 10:47:47 AM Debug TaskWaitQueue.Dequeued.Get File from AS400-1 (881)
6/20/2012 10:47:47 AM Debug Job (495) was removed from processlist: TEst
6/20/2012 10:47:47 AM Debug Next execution (2) for job 'TEst' is: 12:00:00 AM
6/20/2012 10:47:48 AM Info Job completed: TEst
6/20/2012 10:48:12 AM Debug Saving Jobs
6/20/2012 10:48:37 AM Debug Memory cleanup
6/20/2012 10:48:37 AM Debug Saving output files and clearing output memory.
6/20/2012 10:48:37 AM Debug Output stored in memory: 156
6/20/2012 10:48:37 AM Debug ´Calling CleanUp.
6/20/2012 10:48:37 AM Debug Memory usage before cleanup: 58503168
6/20/2012 10:48:37 AM Debug Memory usage after cleanup: 58503168
6/20/2012 10:48:37 AM Debug Number of running Threads: 21
6/20/2012 10:48:37 AM Debug Number of Handles: 494
6/20/2012 10:48:37 AM Debug Number of running Jobs: 0
6/20/2012 10:48:37 AM Debug Number of running Tasks: 0
6/20/2012 10:48:37 AM Debug Log was trimmed from: 1066 to 1005

Support
2012-06-20T21:09:39Z
You find the settings in Server tab->Log->Extended debugging.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-22T14:27:44Z
Found it, it was on. Are the logs i put in the previous Msg the logs your were lookng for?
Support
2012-06-22T21:13:41Z
I can't see any errors. Only way to debug this specific AS/400 ftp server is if you can give us a test account or similar so we can test connecting (and review format) of that server. Please send any account info to support@visualcron.com
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top