我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

用于创建远程文件的CodeIgniter FTP类

how do we create file to the remote ftp from the CodeIgniter FTP Class.

I know how the dirictory are created

$this->ftp->mkdir($path.$name, DIR_WRITE_MODE);

I am looking same for creating file?

You don't. FTP stands for File TRANSFER Protocol. The easiest solution would be to create a (temp) file, upload it and then remove the local file.

近期文章

  • 为什么要用getBaseContext()方法代替this
  • 来自PHP后台进程的实时数据
  • PHP connection_status无法正常工作
  • 外部数据库上的phpMyAdmin配置[重复]
  • 如何在CakePHP Auth组件中使用SHA512?
  • PHP Spreadsheet_Excel_Reader始终读取日期为1999年11月30日
  • 使用jquery在循环中获取select标记的值
  • 如何为我的网站整合Realex Payment的3D安全流程?
  • 使用Lightface发送Streamitem_id
  • 主题在phpbb的两个论坛上分享
  • Mysql date_created到当前时区
  • Apache调用PHP-CLI脚本时不知道$ _SERVER?
  • 使用jQuery中的getScript()在FireFox中报告的Javascript错误“XML不能是整个程序”
  • 如何通过add.php(Facebook)添加页面后将用户重定向到自定义URL
  • 使用Zend进行隐私控制
  • codeigniter将URL重写为小写
  • 不同的记录按月计算总计
  • Web应用程序帖子仅在登录时显示为公司页面
  • 有没有办法在按钮加载时将button()jquery ui函数应用于按钮?
  • 分页完成后,我想在特定对象页面上执行下一个和上一个链接

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华