M morti08 Member Jun 22, 2024 #1 Hello, good time everyone I'm having problem with ftp, it connects but it shows this error when uploading or downloading. /home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt, Success=false java.lang.RuntimeException: Error retrieving file 550 Can't open /home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt: No such file or directory file path: B4X: Copy FTP.DownloadFile("/home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt", False, File.DirInternal,"1.txt")
Hello, good time everyone I'm having problem with ftp, it connects but it shows this error when uploading or downloading. /home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt, Success=false java.lang.RuntimeException: Error retrieving file 550 Can't open /home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt: No such file or directory file path: B4X: Copy FTP.DownloadFile("/home/zeroalar/domains/zeroalarmsystem.ir/public_html/zeroalar1/1.txt", False, File.DirInternal,"1.txt")
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2024 #2 The path is wrong. FTP root, in most cases, isn't the same as the file system root. Start with FTP.List("/") and find out where is the root. Upvote 0
The path is wrong. FTP root, in most cases, isn't the same as the file system root. Start with FTP.List("/") and find out where is the root.