upload

Upload files to Sharepoint document libraries via FTP

混江龙づ霸主 提交于 2019-12-03 12:49:28
问题 I was wondering if anyone knows how to or if it is possible to upload files to a sharepoint (v3/MOSS) document library over FTP. I know it is possible with webdav. If it is possible is this even supported by Microsoft? 回答1: I don't think so. I think your options are: HTTP (via the upload page) WebDAV Web Services The object model 回答2: You can map a drive to a SharePoint document library, for example \\serveraddress.domain.com\Documents. So I would try mapping a drive on your FTP server, then

How do I make Flex file upload work on firefox and safari?

喜夏-厌秋 提交于 2019-12-03 12:35:49
I have a flex app that uploads files to a server. The server requires authentication to be able to upload. In IE the upload works fine. However in FF and Safari, it does not upload. I have seen people all over with this same problem but no answers. Don't fail me now stackoverflowers. I found this question while trying to find the answer myself. The solution was rather simple. Based on the flash player bug that others have linked, and the comments on that page, I decided to append session identifiers to my upload URL and give it a shot. It really was that easy! To make it work, I started by

File drag and drop event in jquery

家住魔仙堡 提交于 2019-12-03 12:34:44
I'm trying to find a way of letting users drag and drop individual files into an area on my page that can then get submitted along with all my other form data. In my research I've found multiple "drag and drop" upload scripts but they all do way, way too much. I want to handle the actual uploading myself and just provide a way for users to upload files without hitting the browse button. Is there an event in jquery (or something similar) that I should be looking for? Any help is much appreciated! I came across this question while researching some AJAX file upload techniques. I created a drag

How do I upload a document to SharePoint with Java?

女生的网名这么多〃 提交于 2019-12-03 11:38:14
问题 I'm creating some big files (DB exports) with Java and I need to put them somewhere on our SharePoint server. Right now, I'm doing this with IE but I'd like to automate this step, too. I searched the web and I found some hints to use SOAP but I don't really see to the ground of all this, yet. Can someone provide me with some sample code or a recipe what I need to do? Please note: the SharePoint server asks for NT domain authentication. I can't even login with Firefox :( EDIT How do I convert

Is there any way to get upload progress correctly with HttpUrlConncetion

旧巷老猫 提交于 2019-12-03 11:37:57
Android Developers Blog recommend to use HttpURLConnection other than apache's HttpClient ( http://android-developers.blogspot.com/2011/09/androids-http-clients.html ). I take the advice and get problem in reporting file upload progress. my code to grab progress is like this: try { out = conncetion.getOutputStream(); in = new BufferedInputStream(fin); byte[] buffer = new byte[MAX_BUFFER_SIZE]; int r; while ((r = in.read(buffer)) != -1) { out.write(buffer, 0, r); bytes += r; if (null != mListener) { long now = System.currentTimeMillis(); if (now - lastTime >= mListener.getProgressInterval()) {

Java SFTP upload using JSch, but how to overwrite the current file?

时光毁灭记忆、已成空白 提交于 2019-12-03 11:19:26
问题 I am trying to upload two files to a server with SFTP using JSch. It works fine to upload the files if the directory is empty but I want to upload the same file over and over (just changing an id inside) but I can't figure out how to do this. There is some static parameter in JSch called OVERWRITE but I can't find out how to use it. Anyone care to show me how I should add this setting? This is my current code: public void upload() { try { JSch jsch = new JSch(); session = jsch.getSession

Node.js and Multer - Handle the destination of the uploaded file in callback function (req,res)

两盒软妹~` 提交于 2019-12-03 11:04:44
问题 i'm a newbie in Node.js and i have run into a very simple problem lately. I'm using a module named multer, so users can upload images. In my web app all the users have a unique id, and i want the uploaded images to be stored in a directory named based on their id. Example: .public/uploads/3454367856437534 Here is a part of my routes.js file: // load multer to handle image uploads var multer = require('multer'); var saveDir = multer({ dest: './public/uploads/' + req.user._id, //error, we can

on change event for file input element

旧街凉风 提交于 2019-12-03 10:40:34
I have 4 file inputs that I want them trigger upload proccess when their value is changed. I mean when you select a picture and click open on select image dialog, the script to upload the picture be triggered. I've used onchange event but I think this is not the right event: JS: $("input[type=file]").on('change',function(){ alert(this.val());//I mean name of the file }); HTML: <div class="form-group col-md-11 col-md-offset-1"> <input type="file" name="photos[]"> <input type="file" name="photos[]"> <input type="file" name="photos[]"> <input type="file" name="photos[]"> </div> What should I do?

Having problems with uploading photos to TwitPic using OAuth in Objective C on the iPhone

徘徊边缘 提交于 2019-12-03 10:25:07
问题 I have been working on an iPhone app that has a feature of uploading photos to TwitPic. I have it working with basic authentication. I am trying to get it working with OAuth. I am getting authentication errors. I have studied very carefully the TwitPic documentation. I am authorising the app by displaying a UI Web View and the it returns a PIN value. I enter the PIN value in the app and request the token. I am able to upload status updates to Twitter but not photos. My code is based on some

Flash Photo Uploader - Take photo from web cam [closed]

荒凉一梦 提交于 2019-12-03 10:20:23
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Are there any examples of Flash + Javascript libraries which allow you to display a variable-sized Flash movie in your page that