-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTPFileProvider.isReachable returns false with errors even though I can read file contents on FTP server. #56
Comments
Maybe something changed in new platform in [NS]URLSessionStreamTask. I shall check in Xcode 9.0 soon. |
I'm facing same problem. @gsrinivas37 did you fixed it ? Any luck? |
@karthikvt @gsrinivas37 does the problem still exist with latest version? |
Closed due to inactivity. I believe it has been address as my tests are passing. You can open it if the problem still exists. |
Hi @amosavian , I still have the problem, could you please help?
` Error:
|
@quhaoran007 do have any problem with |
@amosavian Thanks for the reply. I will try in a moment and let you know |
@amosavian Tried 2 FTP servers, both not working. And I tried Gold Raccoon lib, that worked, just to test the servers. The code and logs are pasted in the following: `
` Logs:
|
Can you read file contents or list directories? |
Hi @amosavian , can you please give me some demo code? I was wondering whether it's because I've done it incorrectly. Because all the commands I used have failed. Same logs. |
@amosavian
always fails with the error:
If I ignore "success", I can:
just fine and there are no more error messages (still dealing with everything being done twice but that's are different problem). Why is it throwing an error message, even though login seems to work just fine? |
I'm trying to use FTPFileProvider with latest iOS public beta and XCode public beta. I am able to read contents of files on FTP server but when I call some of the methods like isRechable(), recursiveList(), attributesOfItem() then it doesn't seem to work and also I get some errors.
Here is the simple piece of code I've written in viewDidLoad()
Reading the test.jpg and test.txt file works fine but the other calls doesn't given any output. Below is the console output.
2017-08-01 00:18:29.450605-0400 ftp[1183:64255] [] nw_connection_fillout_tcp_statistics 1 Connection is not ready
2017-08-01 00:18:29.450846-0400 ftp[1183:64255] [] tcp_connection_get_statistics Failed to get statistics from connection
2017-08-01 00:18:29.456293-0400 ftp[1183:64255] [] nw_connection_fillout_tcp_statistics 2 Connection is not ready
2017-08-01 00:18:29.456840-0400 ftp[1183:64255] [] tcp_connection_get_statistics Failed to get statistics from connection
2017-08-01 00:18:29.460717-0400 ftp[1183:64255] [] nw_connection_fillout_tcp_statistics 3 Connection is not ready
2017-08-01 00:18:29.461325-0400 ftp[1183:64255] [] tcp_connection_get_statistics Failed to get statistics from connection
ftp is rechable: false
2017-08-01 00:18:29.490551-0400 ftp[1183:64272] TIC TCP Conn Missing Error [3:0x60400016f600]: Generating 1:54
2017-08-01 00:18:29.490794-0400 ftp[1183:64272] TIC Read Status [3:0x60400016f600]: 1:57
Image has been read using ftpProvider
File content is: Optional("Hello world !!")
2017-08-01 00:20:29.543466-0400 ftp[1183:81206] TIC TCP Conn Missing Error [1:0x60000016e1c0]: Generating 1:54
2017-08-01 00:20:29.544054-0400 ftp[1183:81206] TIC TCP Conn Missing Error [2:0x60000016e4c0]: Generating 1:54
Let me know if I'm doing something wrong or is it some genuine problem ?
The text was updated successfully, but these errors were encountered: