[{"data":1,"prerenderedAt":747},["ShallowReactive",2],{"\u002Fnetwork\u002Fftp-server":3,"\u002Fnetwork":504},{"id":4,"title":5,"body":6,"description":496,"extension":497,"meta":498,"navigation":499,"path":500,"seo":501,"stem":502,"__hash__":503},"networks\u002Fnetwork\u002Fftp-server.md","How to Run an FTP Server on Android",{"type":7,"value":8,"toc":483},"minimark",[9,13,22,27,65,68,72,77,94,99,123,128,138,142,147,163,169,173,176,200,204,303,309,313,320,333,337,345,418,422,425,443,447,471,475],[10,11,12],"p",{},"AnExplorer's built-in FTP Server lets your phone act as a file server on your local Wi-Fi network. Any computer — Windows, Mac, or Linux — can connect using a standard FTP client and browse your phone's storage, without needing a USB cable or extra apps on the computer.",[10,14,15,16,21],{},"This is faster and more flexible than using USB for bulk transfers. Related guide: ",[17,18,20],"a",{"href":19},"\u002Ftransfer\u002Fandroid-to-pc","how to transfer files from Android to PC",".",[23,24,26],"h2",{"id":25},"how-to-start-the-ftp-server","How to Start the FTP Server",[28,29,30,38,45,51,62],"ol",{},[31,32,33,34],"li",{},"Open ",[35,36,37],"strong",{},"AnExplorer",[31,39,40,41,44],{},"Tap the ",[35,42,43],{},"≡ menu"," or swipe from the left sidebar",[31,46,47,48],{},"Select ",[35,49,50],{},"FTP Server",[31,52,53,54,57,58],{},"Tap ",[35,55,56],{},"Start"," — the server starts and shows you a URL like ",[59,60,61],"code",{},"ftp:\u002F\u002F192.168.1.105:2221",[31,63,64],{},"Note the IP address and port displayed",[10,66,67],{},"The FTP server runs only while AnExplorer is open and the screen is on (or while the app is running in background). It automatically stops when you close the app.",[23,69,71],{"id":70},"connecting-from-a-windows-pc","Connecting from a Windows PC",[10,73,74],{},[35,75,76],{},"Option A — Windows File Explorer:",[28,78,79,82,88,91],{},[31,80,81],{},"Open File Explorer",[31,83,84,85,87],{},"In the address bar, type: ",[59,86,61],{}," (use the IP shown in AnExplorer)",[31,89,90],{},"Accept the connection — if prompted for username and password, use the credentials set in AnExplorer (default: no credentials on local network)",[31,92,93],{},"Your phone's storage appears as a folder",[10,95,96],{},[35,97,98],{},"Option B — FileZilla (free FTP client):",[28,100,101,104,107,117,120],{},[31,102,103],{},"Download FileZilla from filezilla-project.org",[31,105,106],{},"Open FileZilla > File > Site Manager > New Site",[31,108,109,110,113,114],{},"Protocol: FTP, Host: ",[59,111,112],{},"192.168.1.105",", Port: ",[59,115,116],{},"2221",[31,118,119],{},"Logon type: Normal, enter username\u002Fpassword if configured",[31,121,122],{},"Connect — phone files appear in the right panel",[10,124,125],{},[35,126,127],{},"Option C — Command line:",[129,130,135],"pre",{"className":131,"code":133,"language":134},[132],"language-text","ftp 192.168.1.105 2221\n","text",[59,136,133],{"__ignoreMap":137},"",[23,139,141],{"id":140},"connecting-from-a-mac","Connecting from a Mac",[10,143,144],{},[35,145,146],{},"Option A — Finder:",[28,148,149,152,157,160],{},[31,150,151],{},"Finder > Go > Connect to Server (⌘K)",[31,153,154,155],{},"Type ",[59,156,61],{},[31,158,159],{},"Click Connect — Finder mounts the phone as a disk",[31,161,162],{},"Drag files to copy them",[10,164,165,168],{},[35,166,167],{},"Option B — Cyberduck (free):","\nCyberduck is a reliable free FTP client for macOS with a clean drag-and-drop interface. Download at cyberduck.io, create a new connection using the FTP server URL, port, and credentials.",[23,170,172],{"id":171},"connecting-from-linux","Connecting from Linux",[10,174,175],{},"Most Linux file managers (Nautilus, Dolphin, Thunar) support FTP browsing natively:",[177,178,179,184,189],"ul",{},[31,180,181,182],{},"Nautilus: Open Files app > Other Locations > type ",[59,183,61],{},[31,185,186,187],{},"Dolphin: Address bar > ",[59,188,61],{},[31,190,191,192,195,196,199],{},"Terminal: ",[59,193,194],{},"ftp 192.168.1.105 2221"," or use ",[59,197,198],{},"lftp"," for full-featured FTP client",[23,201,203],{"id":202},"ftp-server-settings-in-anexplorer","FTP Server Settings in AnExplorer",[205,206,207,223],"table",{},[208,209,210],"thead",{},[211,212,213,217,220],"tr",{},[214,215,216],"th",{},"Setting",[214,218,219],{},"Default",[214,221,222],{},"What it does",[224,225,226,239,252,264,277,290],"tbody",{},[211,227,228,234,236],{},[229,230,231],"td",{},[35,232,233],{},"Port",[229,235,116],{},[229,237,238],{},"Change if port 2221 is blocked; common alternatives: 21, 2020",[211,240,241,246,249],{},[229,242,243],{},[35,244,245],{},"Username",[229,247,248],{},"(blank)",[229,250,251],{},"Add a username to restrict access",[211,253,254,259,261],{},[229,255,256],{},[35,257,258],{},"Password",[229,260,248],{},[229,262,263],{},"Require a password for all connections",[211,265,266,271,274],{},[229,267,268],{},[35,269,270],{},"Root directory",[229,272,273],{},"Internal storage",[229,275,276],{},"Restrict FTP access to a specific folder",[211,278,279,284,287],{},[229,280,281],{},[35,282,283],{},"Anonymous access",[229,285,286],{},"On",[229,288,289],{},"Allow connections without credentials",[211,291,292,297,300],{},[229,293,294],{},[35,295,296],{},"Require login",[229,298,299],{},"Off",[229,301,302],{},"Turn on for shared-network security",[10,304,305,308],{},[35,306,307],{},"Tip",": On a private home Wi-Fi network, anonymous access is generally fine. If you're on a shared network (office, apartment, hotel), always set a password.",[23,310,312],{"id":311},"security-considerations","Security Considerations",[10,314,315,316,319],{},"The FTP protocol itself does ",[35,317,318],{},"not encrypt"," connections. Anyone on the same Wi-Fi network can technically intercept the connection. For a home network this is acceptable. For shared\u002Fpublic Wi-Fi it is not.",[10,321,322,323,327,328,332],{},"For encrypted transfers, use AnExplorer's ",[17,324,326],{"href":325},"\u002Fnetwork\u002Fsftp","SFTP"," or ",[17,329,331],{"href":330},"\u002Fnetwork\u002Fwebdav","WebDAV"," options instead. Both support TLS\u002FSSH encryption.",[23,334,336],{"id":335},"ftp-server-vs-device-connect","FTP Server vs Device Connect",[10,338,339,340,344],{},"AnExplorer also offers ",[17,341,343],{"href":342},"\u002Fnetwork\u002Flocal-server","Device Connect"," — an HTTP-based server that lets you browse and download files from any browser without any FTP client software. If the person you're sharing files with doesn't have an FTP client, Device Connect is simpler.",[205,346,347,357],{},[208,348,349],{},[211,350,351,353,355],{},[214,352],{},[214,354,50],{},[214,356,343],{},[224,358,359,370,379,388,399,409],{},[211,360,361,364,367],{},[229,362,363],{},"Requires FTP client on computer",[229,365,366],{},"✅",[229,368,369],{},"❌ (any browser)",[211,371,372,375,377],{},[229,373,374],{},"Upload from computer",[229,376,366],{},[229,378,366],{},[211,380,381,384,386],{},[229,382,383],{},"Download to computer",[229,385,366],{},[229,387,366],{},[211,389,390,393,396],{},[229,391,392],{},"Encryption",[229,394,395],{},"❌ (FTP)",[229,397,398],{},"❌ (HTTP)",[211,400,401,404,406],{},[229,402,403],{},"Works with FileZilla, Finder, Cyberduck",[229,405,366],{},[229,407,408],{},"❌",[211,410,411,414,416],{},[229,412,413],{},"Works in Android TV \u002F Chromebook browser",[229,415,408],{},[229,417,366],{},[23,419,421],{"id":420},"port-blocking-issues","Port Blocking Issues",[10,423,424],{},"Default router settings rarely block port 2221 on LAN. If you see \"connection refused\":",[28,426,427,430,437,440],{},[31,428,429],{},"Check that AnExplorer's FTP Server is actually running (visible in notification bar)",[31,431,432,433,436],{},"Try changing the port to ",[59,434,435],{},"21"," in FTP Server settings",[31,438,439],{},"Check Android's battery optimization — aggressive battery modes may kill the server",[31,441,442],{},"On some Android 12+ devices, keep the screen on or set a partial wakelock",[23,444,446],{"id":445},"related-guides","Related Guides",[177,448,449,455,460,466],{},[31,450,451],{},[17,452,454],{"href":453},"\u002Fnetwork\u002Fftp","Connect to an FTP Server (as client)",[31,456,457],{},[17,458,459],{"href":19},"Transfer from Android to PC wirelessly",[31,461,462],{},[17,463,465],{"href":464},"\u002Ftransfer\u002Fandroid-to-mac","Transfer from Android to Mac",[31,467,468],{},[17,469,470],{"href":342},"Device Connect — HTTP server for browsers",[23,472,474],{"id":473},"install","Install",[10,476,477],{},[17,478,482],{"href":479,"rel":480},"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=dev.dworks.apps.anexplorer",[481],"nofollow","Install AnExplorer",{"title":137,"searchDepth":484,"depth":484,"links":485},2,[486,487,488,489,490,491,492,493,494,495],{"id":25,"depth":484,"text":26},{"id":70,"depth":484,"text":71},{"id":140,"depth":484,"text":141},{"id":171,"depth":484,"text":172},{"id":202,"depth":484,"text":203},{"id":311,"depth":484,"text":312},{"id":335,"depth":484,"text":336},{"id":420,"depth":484,"text":421},{"id":445,"depth":484,"text":446},{"id":473,"depth":484,"text":474},"AnExplorer can run an FTP server on your phone, letting any PC, Mac, or Linux machine browse and transfer files over Wi-Fi. No USB cable, no extra software on the computer. Full setup guide.","md",{},true,"\u002Fnetwork\u002Fftp-server",{"title":5,"description":496},"network\u002Fftp-server","PG9HhK2lTHr0rA1RtXgA4w6ef5GPc3HyJvAZU3Y_iW0",{"id":505,"title":506,"body":507,"description":731,"extension":497,"meta":732,"navigation":499,"path":743,"seo":744,"stem":745,"__hash__":746},"content\u002Fnetwork.md","Android Network File Access Guides for SMB, FTP, SFTP & NAS",{"type":7,"value":508,"toc":725},[509,512,516,562,566,592,596,605,609],[10,510,511],{},"AnExplorer connects to every major network file protocol — as both a client (connect to a server) and a server (run a server from your phone).",[23,513,515],{"id":514},"connect-to-a-remote-server-client","Connect to a Remote Server (Client)",[177,517,518,524,529,536,541,548,555],{},[31,519,520,523],{},[17,521,522],{"href":453},"FTP"," — connect to FTP servers on NAS, routers, or PCs",[31,525,526,528],{},[17,527,326],{"href":325}," — secure SSH-based file transfer; VPS, NAS, Raspberry Pi",[31,530,531,535],{},[17,532,534],{"href":533},"\u002Fnetwork\u002Fsmb","SMB"," — Windows file shares, Samba; fastest for LAN NAS access",[31,537,538,540],{},[17,539,331],{"href":330}," — Nextcloud, ownCloud, pCloud, Synology; HTTPS-friendly",[31,542,543,547],{},[17,544,546],{"href":545},"\u002Fnetwork\u002Fnas","NAS"," — brand-specific setup guides for Synology, QNAP, WD, TrueNAS",[31,549,550,554],{},[17,551,553],{"href":552},"\u002Fnetwork\u002Fdlna","DLNA \u002F UPnP"," — browse media server libraries (Plex, Jellyfin, Kodi)",[31,556,557,561],{},[17,558,560],{"href":559},"\u002Fnetwork\u002Fmedia-server","Media Server"," — access Plex, Jellyfin, Emby, Kodi from your phone",[23,563,565],{"id":564},"run-a-server-from-your-phone","Run a Server from Your Phone",[177,567,568,573,580,587],{},[31,569,570,572],{},[17,571,50],{"href":500}," — start an FTP server on Android; connect from Windows, Mac, Linux",[31,574,575,579],{},[17,576,578],{"href":577},"\u002Fnetwork\u002Fsftp-server","SFTP Server"," — encrypted SSH server on your phone",[31,581,582,586],{},[17,583,585],{"href":584},"\u002Fnetwork\u002Fwebdav-server","WebDAV Server"," — browser-accessible file server; works with macOS Finder and Windows",[31,588,589,591],{},[17,590,343],{"href":342}," — built-in HTTP server; browse phone files in any PC browser",[23,593,595],{"id":594},"privacy-and-remote-access","Privacy and Remote Access",[177,597,598],{},[31,599,600,604],{},[17,601,603],{"href":602},"\u002Fnetwork\u002Fopenvpn-share","VPN + File Sharing"," — WireGuard, OpenVPN, Tailscale for remote LAN access",[23,606,608],{"id":607},"protocol-quick-reference","Protocol Quick Reference",[205,610,611,623],{},[208,612,613],{},[211,614,615,618,620],{},[214,616,617],{},"Protocol",[214,619,233],{},[214,621,622],{},"Best For",[224,624,625,634,645,655,665,675,686,695,705,715],{},[211,626,627,629,631],{},[229,628,522],{},[229,630,435],{},[229,632,633],{},"Legacy NAS, routers",[211,635,636,639,642],{},[229,637,638],{},"FTPS",[229,640,641],{},"990",[229,643,644],{},"FTP with TLS",[211,646,647,649,652],{},[229,648,326],{},[229,650,651],{},"22",[229,653,654],{},"Secure remote servers, VPS",[211,656,657,659,662],{},[229,658,534],{},[229,660,661],{},"445",[229,663,664],{},"Windows shares, LAN NAS",[211,666,667,669,672],{},[229,668,331],{},[229,670,671],{},"80\u002F443",[229,673,674],{},"Nextcloud, cloud bridging",[211,676,677,680,683],{},[229,678,679],{},"DLNA",[229,681,682],{},"Auto",[229,684,685],{},"Media libraries",[211,687,688,690,692],{},[229,689,50],{},[229,691,116],{},[229,693,694],{},"Share phone over network",[211,696,697,699,702],{},[229,698,578],{},[229,700,701],{},"2222",[229,703,704],{},"Secure phone sharing",[211,706,707,709,712],{},[229,708,585],{},[229,710,711],{},"8765",[229,713,714],{},"Browser-friendly phone sharing",[211,716,717,719,722],{},[229,718,343],{},[229,720,721],{},"8080",[229,723,724],{},"Browser-based wireless access",{"title":137,"searchDepth":484,"depth":484,"links":726},[727,728,729,730],{"id":514,"depth":484,"text":515},{"id":564,"depth":484,"text":565},{"id":594,"depth":484,"text":595},{"id":607,"depth":484,"text":608},"Connect Android to FTP, SFTP, SMB, WebDAV, NAS, DLNA, and media servers with AnExplorer. Also run FTP, SFTP, and WebDAV servers on your Android phone.",{"faq":733},[734,737,740],{"q":735,"a":736},"What network protocols does AnExplorer support?","AnExplorer supports FTP, SFTP, SMB (Windows shares), WebDAV, DLNA\u002FUPnP, NAS devices, and local HTTP server access. Both client mode (connect to a server) and server mode (run a server from your Android phone) are available.",{"q":738,"a":739},"Can AnExplorer connect to my NAS?","Yes. AnExplorer connects to all major NAS brands — Synology, QNAP, WD, TrueNAS — via SMB, FTP, SFTP, or WebDAV protocols.",{"q":741,"a":742},"Can I browse my phone files from a computer?","Yes. The Device Connect feature turns your phone into a local HTTP server. Open any browser on a PC on the same Wi-Fi network and access all your phone files — no software needed on the computer.","\u002Fnetwork",{"title":506,"description":731},"network","3Jc6JqtYgv15mlNFeK9ooNU2sjZ80ZSs5CRLjkR9Zd8",1776756980343]