When I tried yesterday with the same code, The file was uploading to the Root folder where the /public_html resides. But today it is not even uploading to the root folder also. Is there something wrong with my code?
My ftp account on my server is programmed to connect to a specific folder / public_html / ftp /.
In appybuilder it only works with a final folder type / user and it worked perfectly. In kodular I can’t get a file to upload via FTP, like this / user.
I even tried / public_ html/ ftp / user and it doesn’t work either, I can download files without problem but I can’t upload.
Working_directory confuses me.
which path should i use?
Because from my end FTP Component is working fine!
I would then like to ask @peter to split this post as a solution and make it as a guide for Kodular on How to use FTP component to uplaod file to a server and get filePath Url after uploaded