วิธีเรียกใช้เซิร์ฟเวอร์ FTP บน Android

วิธีเรียกใช้เซิร์ฟเวอร์ FTP บน Android

อัปเดตล่าสุด :

เปลี่ยน Android ของคุณให้เป็นเซิร์ฟเวอร์ FTP

FTP Server ในตัวของ AnExplorer ช่วยให้โทรศัพท์ของคุณทำหน้าที่เป็นเซิร์ฟเวอร์ไฟล์บนเครือข่าย Wi-Fi ในพื้นที่ของคุณ คอมพิวเตอร์ทุกเครื่อง ไม่ว่าจะเป็น Windows, Mac หรือ Linux สามารถเชื่อมต่อโดยใช้ไคลเอนต์ FTP มาตรฐานและเรียกดูพื้นที่จัดเก็บข้อมูลในโทรศัพท์ของคุณได้โดยไม่ต้องใช้สาย USB หรือแอปเพิ่มเติมในคอมพิวเตอร์

ซึ่งเร็วกว่าและยืดหยุ่นกว่าการใช้ USB สำหรับการถ่ายโอนข้อมูลจำนวนมาก คำแนะนำที่เกี่ยวข้อง: วิธีถ่ายโอนไฟล์จาก Android ไปยังพีซี

วิธีเริ่มเซิร์ฟเวอร์ FTP

  1. เปิด AnExplorer
  2. แตะเมนู หรือปัดจากแถบด้านข้างซ้าย
  3. เลือก เซิร์ฟเวอร์ FTP
  4. แตะ เริ่ม — เซิร์ฟเวอร์จะเริ่มทำงานและแสดง URL เช่น ftp://192.168.1.105:2221
  5. บันทึกที่อยู่ IP และพอร์ตที่แสดง

เซิร์ฟเวอร์ FTP จะทำงานเฉพาะในขณะที่ AnExplorer เปิดอยู่และหน้าจอเปิดอยู่เท่านั้น (หรือในขณะที่แอปทำงานในพื้นหลัง) มันหยุดโดยอัตโนมัติเมื่อคุณปิดแอป

การเชื่อมต่อจากพีซี Windows

ตัวเลือก A — Windows File Explorer:

  1. เปิด File Explorer
  2. ในแถบที่อยู่ ให้พิมพ์: ftp://192.168.1.105:2221 (ใช้ IP ที่แสดงใน AnExplorer)
  3. ยอมรับการเชื่อมต่อ — หากได้รับแจ้งให้ระบุชื่อผู้ใช้และรหัสผ่าน ให้ใช้ข้อมูลประจำตัวที่ตั้งค่าไว้ใน AnExplorer (ค่าเริ่มต้น: ไม่มีข้อมูลรับรองในเครือข่ายท้องถิ่น)
  4. ที่เก็บข้อมูลในโทรศัพท์ของคุณจะปรากฏเป็นโฟลเดอร์

ตัวเลือก B — FileZilla (ไคลเอนต์ FTP ฟรี):

  1. ดาวน์โหลด FileZilla จาก filezilla-project.org
  2. เปิด FileZilla > ไฟล์ > ตัวจัดการไซต์ > ไซต์ใหม่
  3. โปรโตคอล: FTP, โฮสต์: 192.168.1.105, พอร์ต: 2221
  4. ประเภทการเข้าสู่ระบบ: ปกติ ป้อนชื่อผู้ใช้/รหัสผ่านหากกำหนดค่าไว้
  5. Connect — phone files appear in the right panel

ตัวเลือก C — บรรทัดคำสั่ง:

ftp 192.168.1.105 2221

Connecting from a Mac

Option A — Finder:

  1. Finder > Go > Connect to Server (⌘K)
  2. Type ftp://192.168.1.105:2221
  3. Click Connect — Finder mounts the phone as a disk
  4. Drag files to copy them

Option B — Cyberduck (free): Cyberduck 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.

Connecting from Linux

Most Linux file managers (Nautilus, Dolphin, Thunar) support FTP browsing natively:

  • Nautilus: Open Files app > Other Locations > type ftp://192.168.1.105:2221
  • Dolphin: Address bar > ftp://192.168.1.105:2221
  • Terminal: ftp 192.168.1.105 2221 or use lftp for full-featured FTP client

FTP Server Settings in AnExplorer

SettingDefaultWhat it does
Port2221Change if port 2221 is blocked; common alternatives: 21, 2020
Username(blank)Add a username to restrict access
Password(blank)Require a password for all connections
Root directoryInternal storageRestrict FTP access to a specific folder
Anonymous accessOnAllow connections without credentials
Require loginOffTurn on for shared-network security

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.

Security Considerations

The FTP protocol itself does not encrypt connections. Anyone on the same Wi-Fi network can technically intercept the connection. For a home network this is acceptable. For shared/public Wi-Fi it is not.

For encrypted transfers, use AnExplorer's SFTP or WebDAV options instead. Both support TLS/SSH encryption.

FTP Server vs Device Connect

AnExplorer also offers 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.

FTP ServerDevice Connect
Requires FTP client on computer❌ (any browser)
Upload from computer
Download to computer
Encryption❌ (FTP)❌ (HTTP)
Works with FileZilla, Finder, Cyberduck
Works in Android TV / Chromebook browser

Port Blocking Issues

Default router settings rarely block port 2221 on LAN. If you see "connection refused":

  1. Check that AnExplorer's FTP Server is actually running (visible in notification bar)
  2. Try changing the port to 21 ในการตั้งค่าเซิร์ฟเวอร์ FTP
  3. ตรวจสอบการเพิ่มประสิทธิภาพแบตเตอรี่ของ Android — โหมดแบตเตอรี่ที่รุนแรงอาจทำให้เซิร์ฟเวอร์เสียหายได้
  4. ในอุปกรณ์ Android 12+ บางรุ่น ให้เปิดหน้าจอไว้หรือตั้งค่า Wakelock บางส่วน

คำแนะนำที่เกี่ยวข้อง

ติดตั้ง

ติดตั้ง AnExplorer

คำถามที่พบบ่อย

ลิขสิทธิ์ © DWorkS 2011 – 2026 สงวนลิขสิทธิ์