简体   繁体   English

有什么方法可以让 android 设备作为 ftp/sftp 服务器通过 java “不在本地”通过互联网运行?

[英]is there any way to make android device run as ftp/sftp server over internet “not in local” by java?

I tried to make android as FTP server我试图将 android 作为 FTP 服务器
it's a success in the local network by the library这是图书馆在本地网络上的成功

I am tried by swiftp library but it's work only in local network我被swiftp库尝试过,但它只在本地网络中工作
in swiftp lib you must open wifi or open hotspot wifi torun server and you can access to your files in local by FTP protocolswiftp lib 中,您必须打开 wifi 或打开热点 wifi 才能运行服务器,您可以通过torun协议访问本地文件
I want to make app like swiftp but work over the internet that can access to my android files from anywhere!我想制作像swiftp这样的应用程序,但可以通过互联网工作,可以从任何地方访问我的 android 文件!
any help?有什么帮助吗?

Not possible.不可能。

You stated that your phone would use a simcard to connect to the internet.您说您的手机将使用 SIM 卡连接到互联网。

Your phone can run a server but you will not get incoming connections from the internet as your cellcard provider blocks them.您的手机可以运行服务器,但由于您的手机卡提供商阻止了它们,您将无法获得来自互联网的传入连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM