我使用perl Net:: FTP ::Recursive模块将文件夹从本地上传到FTP。我已经编写了下面的示例代码。在这段代码中,我需要知道上传过程的状态,比如它是否已经上传。
use strict;
use Net::FTP:recursive;
my $ftp_con= Net::FTP::Recursive->new('host.com',Debug=>0);
$ftp_con->login('username','password');
$ftp_con->rput('d:\my_test',&
为了使Git与我的FTP同步,我按照中的解释设置了git-ftp。
然而,在Mac OSx控制台中,我一直收到以下错误:
usr:web usr$ git ftp init
usr:web usr$ error: pathspec '' did not match any file(s) known to git.
usr:web usr$ fatal: Can't access remote 'ftp://mydomain.com:***@ftp.myprovider.com', exiting...
我没有忘记选择git主文件夹中的"_sit