I can't write files to the specified folders via ftp
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: I can't write files to the specified folders via ftp
It seems to have worked. However, the oFtp:Directory() function does not return folder names, and the oFtp:curDir("messages") function does not allow you to make the current folder "messages"
- Attachments
-
- Безымянный5.jpg (97.4 KiB) Viewed 6410 times
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: I can't write files to the specified folders via ftp
Try to use aF := oFtp:Directory( ,"DHS") and see, if the directory "messages" is in array aF.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: I can't write files to the specified folders via ftp
The htdocs directory is visible, but its subdirectories are still not visibleWolfgang Ciriack wrote: ↑Sun Apr 17, 2022 1:36 am Try to use aF := oFtp:Directory( ,"DHS") and see, if the directory "messages" is in array aF.
- Attachments
-
- Безымянный7.jpg (96.2 KiB) Viewed 6403 times
-
- Безымянный6.jpg (132.54 KiB) Viewed 6404 times
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: I can't write files to the specified folders via ftp
Use oFtp:Directory( ,"DHS") too, after you set the CurDir to "htdocs".
Is the message folder shown ?
Is the message folder shown ?
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: I can't write files to the specified folders via ftp
The directory for messages is displayed. You have to scroll very far to see it. Maybe it was displayed before, but I just didn't see it.
At the same time, the message files are recorded not in the message folder, but in the root directory, in which the files should not be recorded.
At the same time, the message files are recorded not in the message folder, but in the root directory, in which the files should not be recorded.
- Attachments
-
- Безымянный.jpg (30.81 KiB) Viewed 6389 times
-
- Безымянный.jpg (131.59 KiB) Viewed 6391 times
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: I can't write files to the specified folders via ftp
I get the answer "True" or "False" about the results of the operation. I use it. But how to get a more detailed result explaining why the result is "False", I do not know. So far I haven't been able to just log into the directory. And sometimes it works (in the Eidos system), and sometimes it doesn't (in the Krypton program). The program text is the same in both cases.