B4J Question 553 Could not create file with FTP

ottercat

Member
Licensed User
I can transfer files fine to the remote folder with Filezilla. I've tried setting ascii to true. I've tried not specifying the remote folder. I've tried the file.writebytes instead of using writer in case it's some strange encoding error but I still can't upload. Any ideas?
 

drgottjr

Expert
Licensed User
Longtime User
presumably you have set the mode to passive. that's always step1. error 553 usually
signals a permissions issue. it could also indicate a file name problem. assume it's
a permissions matter and go from there. basically, do you have permission to write to
the folder in question? (and do you have permission to cross folders to get to the one
you're looking for?) also, if you were replacing a file, what were its permissions? are yours
bigger?

i don't know who's running the server, so i can't say how difficult it will be for you to
learn what your permissions are. tell the administrator you got a 553. if the administrator
is you, get out your manual.

ascii, binary, writebytes, etc would not cause a 553 (unless the server was poorly configured).
 
Upvote 0
Top