FTPPutFile 234

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
conjure
Pro Scripter
Posts: 64
Joined: Thu Jan 12, 2012 3:05 pm

FTPPutFile 234

Post by conjure » Fri May 17, 2024 1:35 am

I need some help here..
My script respond is 234-AUTH TLS successful but file is not getting uploaded
i tried changing
FTP_USETLS to 2
FTP_PASSIVE to 0
but nothing.

File is not getting upload

Code: Select all


Let>FTP_USETLS=3
Let>FTP_PASSIVE=1
Let>FTP_STATUS=1
Let>FTP_TIMEOUT=15


    Let>ftpserver=linux.ftp.gr
  Let>ftpuser=xxx
  Let>ftppassword=xxx
  Let>ftpport=21
  Let>ftpuploadfolder=/httpdocs
  Let>filetoupload=C:\Users\PC6\AppData\Roaming\MetaQuotes\Terminal\Common\Files\ACCOUNTDETAILS.csv
  FTPPutFile>%ftpserver%,%ftpuser%,%ftppassword%,%ftpport%,%filetoupload%,%ftpuploadfolder%,ACCOUNTDETAILS.csv,A
msg FTP_RESULT
234-AUTH TLS successful


User avatar
Djek
Pro Scripter
Posts: 148
Joined: Sat Feb 05, 2005 11:35 pm
Location: Holland
Contact:

Re: FTPPutFile 234

Post by Djek » Thu May 23, 2024 1:13 pm

Try to change the ftpuploadfolder to httpdocs (without the / )

Kind regards,
Djek

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