Export to FTP site

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
dstammer
Newbie
Posts: 2
Joined: Mon Jun 28, 2004 9:24 pm
Location: Fremont, CA

Export to FTP site

Post by dstammer » Mon Jun 28, 2004 9:49 pm

I am trying to export a text file to an FTP site using the FTPPutFile command:
FTPPutFile>ftp.brother.corp.sgi.com,hrdif,password,21,d:\Transfer\ms2.txt,/transfer/uat/hrgen/inbox/ms4.txt,A
messagemodal>FTP_RESULT

The result of this command is that the host cannot be found. I know my connection info is good as I was able to get to the ftp site by exporting from MS Word.

As a desperate attempt to get this to work I tried changing the ftp site name to ftp.brother.com just to see if all the periods in the site name are causing problems. The result was the floating window in the top left of the screen was visible and the command eventually timed out. This result was clearly different from my first attempt which went straight to the Host not found error message. This seems to suggest that my site name is not valid to MacroScheduler(?).

Can anyone provide some suggestions as to what I might try next?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Jun 28, 2004 10:40 pm

If everything else is correct you might try using FTP_TIMEOUT

Default = 15, perhaps try
Let>FTP_TIMEOUT=60
Also check to see if you are using a proxy. If you are connecting with a proxy server, enter the proxy server IP or name in "Server", and use "username@remote_server" for the "UserName".
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

dstammer
Newbie
Posts: 2
Joined: Mon Jun 28, 2004 9:24 pm
Location: Fremont, CA

Post by dstammer » Tue Jun 29, 2004 10:31 pm

I was able to resolve my problem by replacing the server name with the IP address.

Thanks for the advice.
Dan

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