Open ghost opened 8 years ago
I have found these issues: 1) The open call (row 315 of ftp.c) always returns a valid handle even when the path does not exists (just try dir command on a non existing directory). If you add a check with the standard fopen call it works perfectly. 2) The gmtime_r always crashes even though the parameters are good (it can however be skipped to make it work). 3) The getdents function sometimes crashes (it does not happen always). I have also tried to increase the buffer to 128k, but it didn't solve the issue. 4) The stat function does not crash, but sometimes it returns a non 0 value hiding therefore some entries (it can however be patched easily)
If someone is experiencing the same issues, I think there might be some problems with the I/O functions of libPS4 of PS4-SDK.
the client receives the "150 Opening ASCII mode data transfer for LIST" and then it crashes, no file/directory is shown. Does it happen only to me ? I am launching it directly through Cturt Ps4Playground. File upload through put command works.