Skip to content

FTP Drive

FieldDescriptionDefault
HostFTP server hostname or IP address, without a portRequired
PortFTP port21
UsernameUses the anonymous user when emptyanonymous
PasswordUses the anonymous password when emptyanonymous
ConcurrencyMaximum connection-pool concurrency5
TimeoutConnection/operation timeout in Go duration format5s
Cache TTLDirectory-entry cache time; zero or below disables cachingDisabled

FTP does not encrypt transfers; prefer SFTP over public networks. Uploads, downloads, and generic copies pass through go-drive. Moving or renaming within the same FTP Drive uses remote rename.

Lower the concurrency setting if the server limits its number of connections. If directory listings become stale, clear the Drive cache or shorten the cache TTL.

Released under the MIT License.