M Mahares Expert Licensed User Longtime User Jan 10, 2014 #1 I can only send files to a FIlezilla server using FTP.Passivemode= False and WiFi is ON. It would not work with passivemode=true. If I turn WiFi OFF or there is no WiFi in the area, I cannot send files using cellular from a phone. No errors show. When I use the same exact FTP application as used above and send files to a Microsoft Windows 2008 server with FTP.Passivemode=True , I can send and receive files whether WiFi is ON or OFF without any problems. Can anybody help me with some ideas on what to do to get the Send/Receive process to FIlezilla server to work when no WiFI is present. I do not think the problem is with my code as sending/receiving to Microsoft Server works well, unless something I can change in my code to accommodate FIlezilla or maybe the problem is with the settings in Filezilla server. Thank you very much
I can only send files to a FIlezilla server using FTP.Passivemode= False and WiFi is ON. It would not work with passivemode=true. If I turn WiFi OFF or there is no WiFi in the area, I cannot send files using cellular from a phone. No errors show. When I use the same exact FTP application as used above and send files to a Microsoft Windows 2008 server with FTP.Passivemode=True , I can send and receive files whether WiFi is ON or OFF without any problems. Can anybody help me with some ideas on what to do to get the Send/Receive process to FIlezilla server to work when no WiFI is present. I do not think the problem is with my code as sending/receiving to Microsoft Server works well, unless something I can change in my code to accommodate FIlezilla or maybe the problem is with the settings in Filezilla server. Thank you very much
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2014 #2 Why don't you want to use passive mode? Upvote 0
M Mahares Expert Licensed User Longtime User Jan 10, 2014 #3 @Erel: I tried passivemode=true, but all I get is: org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection. if you check my thread below of last week, I have all the details that got me to use passivemode=false which is the only way I can transfer via WiFi, but no go via cellular. http://www.b4x.com/android/forum/th...ent-to-ftp-server-but-not-via-b4a-code.36368/ Upvote 0
@Erel: I tried passivemode=true, but all I get is: org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received. Server closed connection. if you check my thread below of last week, I have all the details that got me to use passivemode=false which is the only way I can transfer via WiFi, but no go via cellular. http://www.b4x.com/android/forum/th...ent-to-ftp-server-but-not-via-b4a-code.36368/
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2014 #4 Is your FileZilla server configured to allow passive requests? Upvote 0
M Mahares Expert Licensed User Longtime User Jan 12, 2014 #5 Is your FileZilla server configured to allow passive requests? Click to expand... The Passivemose is TRUE on the server as reported to me by IT, but we can only send/receive via WiFi by changing to passivemode=False. But no cellular by any method. Is there anywhere else to look for clues? Upvote 0
Is your FileZilla server configured to allow passive requests? Click to expand... The Passivemose is TRUE on the server as reported to me by IT, but we can only send/receive via WiFi by changing to passivemode=False. But no cellular by any method. Is there anywhere else to look for clues?
ggpanta Member Licensed User Longtime User Jan 12, 2014 #6 The connection over WiFi is a different interface with a different route than the wired one, probably the AP you connect to doesnt allow this, you can ask them to either allow it or provide you with a number of ports you can use for passive Upvote 0
The connection over WiFi is a different interface with a different route than the wired one, probably the AP you connect to doesnt allow this, you can ask them to either allow it or provide you with a number of ports you can use for passive