upload folder to WebDav server using ACConnect WebDav Project - ios

I have been searching for WebDav library and found this, ACConnect WebDav Project on github
I am able to upload and download image/files. I have not been able to figure out how to upload a folder. If anybody has any ideas please share :)

Ok so found out that we cannot upload the complete folder directly using this library.
There is function [propReq createCollection:filePath]; which enables us to create folder on webdav server. Then we will need to upload files one by one to this newly created folder. In terms achieving uploading of complete folder :)

Related

Grails 3 web interface with zip upload via form to a folder on the server

I'm trying to create a Grails 3 web interface with an upload form that writes zip files to a folder on the server.
I have already tried a lot of plugins or solutions that can be found here but nothing seems to work.
My code can be found on github (https://github.com/rm93/BIGC).
Would anyone know a solution that I could apply?
I have found a solution to my problem. Instead to give a path to the transferTo method i now I give it a new file.
fileUpload.transferTo(new File("/path/to/folder/data.zip"))

How can i set "FILES_ROOT" to a folder on server?

I want to use RoxyFileMan to manage uploaded images and files. But I should save them on the server. As you know, RoxyFileMan Upload uploads files and images in a folder named Uploads in a fileman directory. We can change FILES_ROOT to another local path to change the directory files get uploaded to.
But, I want to upload files on the server and then read them from the server after they've been uploaded so that they can be edited in ckeditor.
Can anyone please provide advice/guidance on how to achive this outcome?
It's not very clear how your question is meant, but if I understand you correctly, you are using RoxyFileMan on a local server and want to upload files to a remote online server, right?
Roxy uploads files to a directory on the server it is run from. Which means if run from localhost, it will use directory on your localhost. If run from a server, it will use a directory on server.
As far as my knowledge goes, you cannot upload from a localhost to an online server directly.
You could maybe achieve that using some custom script to open an FTP connection, but then you would have to also remake all the code to also load images from there... which would be rather silly.

Upload File On ftp by Creating Directories in Path

I want to upload a file on ftp and i am able to do so with help of apple sample Code https://developer.apple.com/library/ios/samplecode/SimpleFTPSample/Listings/Read_Me_About_SimpleFTPSample_txt.html#//apple_ref/doc/uid/DTS40009243-Read_Me_About_SimpleFTPSample_txt-DontLinkElementID_16
but the problem is while uploading the file if the directories not available on ftp server it should create it automatically.
For Example:
if my address is
192.168.1.100/fileTest/firstDirectory/secondDirectory/myfile.txt
My question is the code should check if fileTest/firstDirectory/secondDirectory/ this path exist or not. If not instead of giving me the stream error it should create the directories and upload my file.
Is this Possible. Any Ideas.. ? Any help will be appreciated.
Thank You in advance.

Uploading file to ftp from eclipse

For PHP Development i use Eclipse PDT and i'm fine with this. To speed up the deploy process i wan't to upload selected files to the appropriate directory on my FTP via eclipse.
After some googling i came across aptana. Look's fine, but unfortunatelly the upload button is disabled on nearly every file in the PHP Explorer.
Anybody has the same problem and a solution? I already configured the ftp connections and everything..
Or is there a better plugin for my usecase as i dont wan't to sync the file automatically but just wan't to upload selected files.
Thanks
Remove Systems Explorere will help you.

(Rails) Uploading Directories

I need to upload multiple files on my website.
But I need not just a form for uploading multiple files, I need to upload whole directories.
How's this possible for the minimalist?
Yours, Joern.
According to my somewhat limited knowledge this is not possible, only file transfer is possible, not directories.
Here are some workarounds, based on discussion on Velocity Reviews and another discussion:
upload a zip, which you unzip at the server side
upload directories over ftp (web page can be a front end to this)
upload files one by one
I would go either for zip or ftp. Note: someone might have produced a gem that enables uploading directories (I know nothing of such thing, but I will be happy to find out, if there is).
Adding another option to the list provided by Sorrow:
upload via REST/JSON
OK, this is a partial solution, but it does give you the opportunity to write a script that reads your directory and POSTS to your website.

Resources