Hello,
Here is my command: (I have changed the name of the ftp server. It can be supplied if needed)
FTPPutFile>myftp.com,alliance,a77,21,C:\Extract\7617.txt,,7617SALES.csv,A
I get no error in Macro Sched, and no file is on the FTP site.
I have tried FTP_PASSIVE=0 and =1 with no change.
I have attached the Log from the FTP server.
Thank you for your help,
Tom
FTPPutFile is not sending a file
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FTPPutFile is not sending a file
There will be an error or a result code in FTP_RESULT. Please look in the watch list or output FTP_RESULT in a message box and tell us the value.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: FTPPutFile is not sending a file
Hi,
FTP_RESULT = 501-Syntax error in parameters or arguments.
Thanks
Tom
FTP_RESULT = 501-Syntax error in parameters or arguments.
Thanks
Tom
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FTPPutFile is not sending a file
So, it doesn't like something about the parameters. I notice you've left the host directory empty. I wonder if that is the issue. If it's the root, then try sending "\":
FTPPutFile>myftp.com,alliance,a77,21,C:\Extract\7617.txt,\,7617SALES.csv,A
FTPPutFile>myftp.com,alliance,a77,21,C:\Extract\7617.txt,\,7617SALES.csv,A
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: FTPPutFile is not sending a file
Marcus,
The missing directory value was the problem.
It is working well now.
Thank you for your help,
Tom
The missing directory value was the problem.
It is working well now.
Thank you for your help,
Tom