FTP Task - Custom Commands - VMS - VisualCron - Forum

Community forum

gorkam
2013-06-07T18:26:49Z
I am attempting to use VC to ftp to a VAX to retrieve various files.

VC is connecting and is able to get system information, but it chokes on actually retrieving a file.

I am attaching the errorlog from my task as well as some screen shots from the ftp output.

I know this could be done using scripts through windows, but I thought it would be fun to use VC for the task.

Thanks, Mike

Here is the text from the standard output. As you can see, it's connecting and talking. It fails when I try to GET a file.

220 TWOROW FTP Server (Version 3.3) Ready.

USER ingres
331 Username INGRES requires a Password.

PASS ********
230 User logged in.

FEAT
502 FEAT is unimplemented.

SYST
200 VMS VAX/VMS V5.5 on node TWOROW

PWD
257 "INGDEV:[INGRES]" is current directory.

PWD
257 "INGDEV:[INGRES]" is current directory.

PASV

227 Entering Passive Mode (172,18,33,90,4,91)

PASV
SYST

200 VMS VAX/VMS V5.5 on node TWOROW

SYST
CWD FILES

250 CWD command succesful.

CWD FILES


Here are the errors from the error log since I can't seem to post.


6/7/2013 11:10:53 AM Saving Jobs
6/7/2013 11:10:35 AM Get VMS data Job completed: Get VMS data
6/7/2013 11:10:35 AM Get VMS data Get Diskspace map from VAX Task process was aborted by user.
6/7/2013 11:10:35 AM Get VMS data Get Diskspace map from VAX Task completed: Get Diskspace map from VAX (23848)
6/7/2013 11:10:35 AM Get VMS data Get Diskspace map from VAX Task completed: Get Diskspace map from VAX (23848)
6/7/2013 11:09:35 AM Get VMS data Get Diskspace map from VAX Error sending a custom command, err: Control channel transfer error
6/7/2013 11:08:52 AM Saving Jobs
6/7/2013 11:08:34 AM Get VMS data Get Diskspace map from VAX Task started: Get Diskspace map from VAX (23848)
6/7/2013 11:08:31 AM Get VMS data Get Diskspace map from VAX User 'Michael Wall' - Updated Task: Get Diskspace map from VAX
6/7/2013 10:56:41 AM Saving Jobs
6/7/2013 10:56:16 AM Get VMS data Job completed: Get VMS data
6/7/2013 10:56:16 AM Get VMS data Get Diskspace map from VAX Task process was aborted by user.
6/7/2013 10:56:16 AM Get VMS data Get Diskspace map from VAX Task completed: Get Diskspace map from VAX (23847)
6/7/2013 10:56:16 AM Get VMS data Get Diskspace map from VAX Task completed: Get Diskspace map from VAX (23847)
6/7/2013 10:55:16 AM Get VMS data Get Diskspace map from VAX Error sending a custom command, err: Control channel transfer error
6/7/2013 10:54:40 AM Saving Jobs


thank you!
File Attachment(s):
errorlog.xls (143kb) downloaded 34 time(s).
gorkam
2013-06-07T19:08:29Z
Never mind, I didn't realize it was using RAW ftp commands.

But apparently those don't work under Custom Commands? (per the documentation)

The VAX recognizes the commands, but then I think VC is erroring out.

So, any suggestions?



Thanks, Mike
Support
2013-06-10T09:12:07Z
The log does not give enough info. Please try using the download Task (not custom ftp commands) and make sure you have "Extended debugging" set in server settings - then you should receive more info in the log.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
gorkam
2013-06-10T17:09:24Z
Yes, looking at the extended log was informative as I did find one issue I was able to fix.

By reading the log, it appears it is connecting and listing the files in the directory just fine. It's not passing the command to download them or at least it appears it is not.

I'm attaching the new log.

6/10/2013 8:39:02 AM Get VMS data Get Diskspace map from VAX Trying to disconnect
6/10/2013 8:39:02 AM Get VMS data Get Diskspace map from VAX Disposing timer
6/10/2013 8:39:02 AM Get VMS data Get Diskspace map from VAX Before dispose
6/10/2013 8:39:02 AM Get VMS data Get Diskspace map from VAX Commands done
6/10/2013 8:39:01 AM Get VMS data Get Diskspace map from VAX Completing FTP command: 1 of 1
6/10/2013 8:39:01 AM Get VMS data Get Diskspace map from VAX Exception was ignored due to OnError setting (FileNotDownloaded), ex: No file(s) downloaded
6/10/2013 8:39:01 AM Get VMS data Get Diskspace map from VAX After download
6/10/2013 8:39:01 AM Get VMS data Get Diskspace map from VAX Before download
6/10/2013 8:39:01 AM Custom directory listing: 'Total of 31 files.'
6/10/2013 8:39:01 AM OnTextDataLine (Not set): Total of 31 files.
File Attachment(s):
errorlog_20130610.xls (167kb) downloaded 35 time(s).
gorkam
2013-06-13T20:04:00Z
I haven't heard anything back on this topic.

thanks!
Support
2013-06-13T20:24:58Z
Sorry for keeping you waiting. I think the format of this FTP is so special so you can try use the setting "Treat unknown file types as files". If you can provide a test account and send to support@visualcron.com we might be able to test this more.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
gorkam
2013-06-13T20:49:17Z
I will see if that is possible. I will see if the test VAX is still working.

Thanks!

Mike
gorkam
2013-06-13T22:51:16Z
I have the test VAX up and running. At this point, a remote session would be best. I know you're in a different time zone, but I'm sure I can arrange to be online when it would best work for you.

Mike
Scroll to Top