File upload 漫游推送到ftp不工作

File upload 漫游推送到ftp不工作,file-upload,ftp,vagrant,push,vagrantfile,File Upload,Ftp,Vagrant,Push,Vagrantfile,所以我试图通过Vagrant push将我的文件推送到ftp服务器。 但是我犯了一个错误,我真的不知道该怎么办 当我做一个流浪推我得到这个输出 /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/plugins/pushes/ftp/push.rb:20:in `push': stack level too deep (SystemStackError) from /opt/vagrant/embedded/gems/2.1.1/gems/va

所以我试图通过Vagrant push将我的文件推送到ftp服务器。 但是我犯了一个错误,我真的不知道该怎么办

当我做一个流浪推我得到这个输出

/opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/plugins/pushes/ftp/push.rb:20:in `push': stack level too deep (SystemStackError)
from /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:655:in `push'
from /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/plugins/commands/push/command.rb:28:in `execute'
from /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/cli.rb:54:in `execute'
from /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/lib/vagrant/environment.rb:275:in `cli'
from /opt/vagrant/embedded/gems/2.1.1/gems/vagrant-2.1.1/bin/vagrant:156:in `<main>'

所以我知道问题是什么

似乎我想要推送的数据太难处理了。 我试图排除一些文件。 每一次尝试和错误,我得到的问题是一个文件夹,其中包含大量的文件。所以排除那个文件夹对我来说很有效

config.push.define "ftp" do |push|
   push.host = "*****.********.com"
   push.username = "******"
   push.password = "***********"
   push.destination = "/dev/raumbuchung"
end