首页 \ 问答 \ 如何将图像上传到Android应用程序中的FTP服务器?(How do you upload images to an FTP server within an Android app?)

如何将图像上传到Android应用程序中的FTP服务器?(How do you upload images to an FTP server within an Android app?)

是否可以将我的Android应用程序中的图像上传到FTP服务器? 该图像已经使用相机拍摄。

在桌面应用程序中,我们使用FTP客户端将任何文件/图像上传到实时服务器。 我们如何在Android应用程序中做类似的事情?


Is it possible to upload an image from my Android application to an FTP server? The image will have already been captured using the camera.

In a desktop application, we'd use FTP Client to upload any file / image to a live server. How can we do something similar within our Android application?


原文:https://stackoverflow.com/questions/6464456
更新时间:2023-04-24 07:04

最满意答案

cl是vs c编译器,错误表示找不到编译器。 我猜这个问题在这里:

call "%NMAKEHOME%\nmake" %NMAKE_Opts% "MSVCDIR=%MSVCDIR%" "PLATSDKDIR=%PLATSDKDIR%" "APACHE22_HOME=%APACHE22_HOME%" "APSRC=%APSRC%" "DEBUG=%DEBUG%" dist

cl is the vs c compiler, and the error says it can't find the compiler. I guess the issue is here:

call "%NMAKEHOME%\nmake" %NMAKE_Opts% "MSVCDIR=%MSVCDIR%" "PLATSDKDIR=%PLATSDKDIR%" "APACHE22_HOME=%APACHE22_HOME%" "APSRC=%APSRC%" "DEBUG=%DEBUG%" dist

相关问答

更多
  • cl是vs c编译器,错误表示找不到编译器。 我猜这个问题在这里: call "%NMAKEHOME%\nmake" %NMAKE_Opts% "MSVCDIR=%MSVCDIR%" "PLATSDKDIR=%PLATSDKDIR%" "APACHE22_HOME=%APACHE22_HOME%" "APSRC=%APSRC%" "DEBUG=%DEBUG%" dist cl is the vs c compiler, and the error says it can't find the compil ...
  • 在C ++中, size_t在std命名空间的头文件中声明。 #include int intFcn (const void *key, std::size_t table_size); 在C中(也在C ++中),它在声明: #include int intFcn (const void *key, size_t table_size); In C++ size_t is declared in the
  • 因为函数定义在链接时包含在可执行文件中,但是在编译时完成了decalration或语法检查 当你调用任何函数并且编译器无法找到函数声明时,请考虑一件事,然后它将生成警告作为implicit declaration of func() 。 要删除此警告消息,我们提供func的前向声明, int func(); 它编译时没有任何警告信息。 你觉得为什么会这样吗? 这是因为编译器没有找到func()符号。 根据语言语法,编译器完全可以使代码无错误。 但是最终可执行文件的构建是在链接时完成的,然后链接器开始寻找fu ...
  • 看起来您正在使用模型构建器,并且配置是在文件而不是内存中生成模型,因此您必须在项目中包含这些cs文件,以便它们在您的站点上构建。 默认情况下,这些类保存在/ App_Data / Models中,但是被隐藏。 如果您不喜欢此行为,则可以使用PureLive作为配置,但这将消除在视图上使用强类型模型的好处。 模型构建器配置 It looks like you are using Models Builder and the configuration is generating your models in ...
  • # 1等主题的变化由C预处理器生成,作为#line 1的简写。 这是非标准的,但常见的。 您可以在gcc -E或仅运行预处理器的类似选项的输出中看到它。 Variations on the theme of # 1 etc are generated by the C preprocessor as a shorthand for #line 1. It is non-standard, but common. You can probably see it in the output from gcc - ...
  • 您可能正在从libgen.h中获取basename()的定义。 在我的OpenSUSE系统中,libgen.h中的版本在末尾用“throw()”定义(通过__THROW宏)。 您可以尝试的一件事是告诉gcc只运行预处理器阶段,方法是添加-E标志,然后搜索基本名称以查看正在定义的内容: g++ -pipe -W -Wall -fopenmp -ggdb3 -O2 -E -o misc.i ../../src/misc.cc 如果发生这种情况,您需要删除包含libgen.h,匹配throw说明符或更改函 ...
  • 最后两行显然不应该在那里。 这个问题是关于数组和指针之间的差异。 你已经找到了答案: a是一个数组,而不是一个指针,因此不能后增。 The last two lines are obviously not supposed to be there. This question is about the differences between arrays and pointers. You already found the answer: a is an array, not a pointer, and ...
  • 显然,您可以通过删除src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_shared的两个mocinclude.tmp实例来解决此特定错误。 ( 来源 )。 顺便说一句,当你运行configure时,你可以向它传递一个'help'参数,以获得它理解的参数列表(即configure help )。 Apparently you can get around this particular error by deleting the two instances ...
  • 很可能在你的Form上,在Visual Studio中, TextBox1_TextChanged的TextChanged属性中声明了一个TextBox1_TextChanged方法,而没有实现。 您可能已经拥有该实现(一个空方法),然后将其删除,而不删除Visual Studio中UI中对它的引用。 因此,在Visual Studio中打开表单,单击TextBox1 ,在TextChanged属性中查找值并将其删除。 Very probably on your Form, in Visual Studio ...
  • 你有什么理由需要使用VS2008吗? 如果不是,我建议使用当前的VC版本。 您的问题看起来像某种版本不匹配/无法解决的问题... Is there any reason you need to use VS2008? If not I'd recommend to use the current VC release. Your problem looks like some sort of version mismatch/incompablilty issue to me ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)