FTP woes

Das Goravani goravanis at gmail.com
Fri Apr 29 17:23:04 UTC 2022


Hello,

I’m playing with the sample library for doing FTP with the worker object.

I have setup vsftpd on my server and made an FTP user with a specific folder.

Then I try to use the Omnis FTP sample library to view that folder and possibly upload to it.

When I do the Action List Directory with no path given it works. It shows the users directory in the Results List.

But when I put in the path to that directory to get a list of files inside it, it doesn’t work. It doesn’t give an error number.

When I try to upload a file to the users directory it gives error code 553 which translates to "bad file name", but the file is named paypal2.csv, a very small straightforward name. 

What am I doing wrong?

When I put the credentials into an FTP client app on my Mac it works perfectly. The directory is good. The user is good. 

Does the sample library work? Do you know?

I want to create a small FTP client app based on the sample library if possible. 

Thanks,

Das Goravani
North Carolina USA


More information about the omnisdev-en mailing list