Test::S...er::FTP(3)

πŸ“¦
version 1.84 Β· 2 versions
, in fedora 43

✨ Test::Smoke::Syncer::FTP ✨

okay so this is Test::Smoke::Syncer::FTP β€” user contributed perl documentation, section 3, bestie, we're in the deep end and it's giving very niche but very useful πŸ’…


🌸 DESCRIPTION 🌸

This one handles the whole syncing situation by grabbing the source-tree off an FTP server πŸ¦‹ It's out here using Test::Smoke::FTPClient, which is the little icon that implements a mirror function. no cap, that's the whole job.


πŸŽ€ METHODS πŸŽ€

πŸ’– Test::Smoke::Syncer::FTP->new( %args )

constructor time, bestie 🫢 here are the args this class knows about:

  • ftphost (ftp.example.com) β€” where the FTP server lives
  • ftpusr (anonymous) β€” the username you're logging in with
  • ftppwd (?) β€” the password, yes it's literally listed as ?, we love a mystery πŸ”
  • ftpsdir (/) β€” the source directory on the server
  • ftype (undef|binary|ascii) β€” the transfer type vibe
  • ddir β€” the destination dir
  • v β€” verbosity, obviously πŸ‘‘

πŸ’œ $syncer->sync()

this is where the actual syncing goes down:

  • Mirror β€” it mirrors. that's it. that's the move ✨

(c) 2002-2013, All rights reserved.

  • Abe Timmerman <abeltje@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ“

See:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, zero promises, bestie 😭 read it and weep (respectfully).

and that's the whole page!! brought to you by perl v5.42.0, dated 2025-07-25 β€” slay, go sync something πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from