We hava a pc with XP pro that we use a a server to transfer clock in/out data to the hp3000. It worked great until I change this pc from a group to a domain. I can ftp from the command prompt and set up the hp3000 (159.157.21.1) as a FTP on Network places, but the program still won't transfer using the following FTPPutFile. It's macro scheduler 12.0.0.30.
FTPPutFile>159.157.21.1,manager.mmdata,apple23,21,c:\ftpdone\%HPFILE%,b4time.idatabas.mmdata,A
Any suggestions?
thanks,
Stuart
FTPPutFile won't transfer to HP3000
Moderators: JRL, Dorian (MJT support)
-
- Newbie
- Posts: 2
- Joined: Mon Aug 30, 2010 12:39 pm
As a trouble shooting procedure try the following things:
1.) turn off the windows firewall on the xp doing the FTP
2.) Launch Macro Scheduler from a shortcut by right clicking on
the shortcut and picking Run as ---> Administrator
3.) try setting the variable FTP_PASSIVE=1 before FTPPutFile
try setting the variable FTP_PASSIVE=0 before FTPPutFile
4.) Display the output from the variable FTP_RESULT after the
FTPPutFile finishes
1.) turn off the windows firewall on the xp doing the FTP
2.) Launch Macro Scheduler from a shortcut by right clicking on
the shortcut and picking Run as ---> Administrator
3.) try setting the variable FTP_PASSIVE=1 before FTPPutFile
try setting the variable FTP_PASSIVE=0 before FTPPutFile
4.) Display the output from the variable FTP_RESULT after the
FTPPutFile finishes
-
- Newbie
- Posts: 2
- Joined: Mon Aug 30, 2010 12:39 pm
ftp hp3000
It never finishes. Upon execution, when the program gets to the FTPPutFile part, it opens up a very wide window with a lot of gibberish in it. You have select from button choices OK or ABORT. Either way, the file won't transfer over to 159.157.21.1.
Did you try each and every one of the suggestions 1 at a time?
Try running in a debugger window by executing each line
by pressing F8 key. Look at the watch variables
By default the timeout for FTP commands is 15 seconds... if this
is too long or too short you can change the variable FTP_TIMEOUT
to a smaller or larger value.
It's important to look at the value of FTP_RESULT. This will give
a clue to what is happening.
Try running in a debugger window by executing each line
by pressing F8 key. Look at the watch variables
By default the timeout for FTP commands is 15 seconds... if this
is too long or too short you can change the variable FTP_TIMEOUT
to a smaller or larger value.
It's important to look at the value of FTP_RESULT. This will give
a clue to what is happening.