FTP not working for \File sub folders
-
Hi, I'm trying to save a chart screenshot and send it via "Send file to FTP" block.
The FTP block works fine when the file is under the Files folder, but the "Chart screenshot" block only allows me to save to a sub folder under "Files".
The FTP doesn't work for subfolders and I've tried virtually every combination of a relative path to the file, e.g. \subfolder\chart.gif, subfolder\chart.gif, ..\subfolder\chart.gif etc.
I'm guessing this is a bug versus something I'm doing wrong.
Can you please help?
-
@camhawk Haven't used that block, but did you try forward slash "/" instead of back-slash?
-
Yes, I tried them all... about 20 combinations lol!
-
@camhawk Okay, created a testing project. The right way is folder\filename.txt
For debugging see error codes for last error here: https://docs.mql4.com/constants/errorswarnings/errorcodes
Do you have any blanks in file or foldername?
-
Hey @trader-philipps thanks so much for this! It seems my MT4 was out of date. I updated the version somehow and now it works.
Much appreciated!
-
hey guys is there any way to send file without full filename. Like send all files in a folder via ftp or use some kind of windcard