FTPGetFile adds text

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
tony_smith
Pro Scripter
Posts: 70
Joined: Wed May 14, 2003 8:25 pm
Location: Vancouver BC Canada

FTPGetFile adds text

Post by tony_smith » Mon Jan 22, 2007 7:28 pm

I have something new happening to an old script... and please forgive the old rhubarb... but this just started happening when I upgraded to the latest version of 9.0 last week.

This line results in a 550 Error

00.110.70.187,myname,Password,21,U:\EData\SIL_FTP\DBAF\VMI\NEW_IN\sauder.txt,\DBAF\sauder.txt,1

The 550 error states;

550 \DBAF\sauder.txt\sauder.txt: The system cannot find the path specified

It appears that somewhere the additional file name "\sauder.txt" is being appended.

I checked the help file, knowing that the FTPGetFile command had been worked on, but the command line checks out. Is there a new switch or syntax I am missing?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Mon Jan 22, 2007 8:18 pm

If "1" (one) valid for the mode? The help says it's "A" or "I" (eye).

User avatar
tony_smith
Pro Scripter
Posts: 70
Joined: Wed May 14, 2003 8:25 pm
Location: Vancouver BC Canada

Yes

Post by tony_smith » Mon Jan 22, 2007 8:33 pm

Aye, lad... that be "I"

Actually, it was working with one "1".

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue Jan 23, 2007 12:54 am

I can't reproduce the problem, this works fine for me, from MS, or as compiled in v9. I think it's basically the same structure as your line.

FTPGetFile>ftp.somedomain.com,someuser,somepw,21,c:\somedir\test2.txt,/web/FILES/test2.txt,A

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts