Is there a way, to setup directl file transfer from Dropbox/Google Drive/OneDrive... to FTP server. Is it "physically" possible or/and does any API and programming logic even allow that?
No, Dropbox does not offer an FTP interface or functionality like this. Dropbox offers an HTTP based API:
https://www.dropbox.com/developers/core
You could use that API to programmatically download content from Dropbox, and then upload that to an FTP server, but that would require a client in the middle to manage the download and upload.
Related
I am working on a project where the there is a requirement to play video from ftp server in the website. I am not sure how can I do this, but I am trying. This is a CodeIgniter project. What I am doing is that I am connecting to the ftp server using username and password, fetching the video file names and giving it to the video source which is like doing it for playing video using http protocol. I am not sure how to play the video from the source as it's all ftp link. Also there is authorization. I have done some research on that but I did not find anything useful. Can somebody please help?
You will not find a workable, cross-platform, secure solution that does not involve the browser accessing these videos via http(s) instead of FTP (say, with nginx or Apache). Also, if you're dealing with FTP and authentication, you will end up exposing the FTP account's password in URLs, which you absolutely do not want to do. Hope this helps.
How to upload an image via FTP in Codename One?
I've made many researches but any one lead me to the solution.
I need to provide the hostname, username and password
We don't support FTP, it isn't as commonly used within apps.
Images are uploaded using multipart requests which is the same thing as form submit in HTTP/HTML. For that you will either need a server or a cloud service that accepts multipart requests for you.
I want to connect my salesforce account to an FTP server so that I do not have to use the local system for the storage of any files coming from FTP. I have tried connecting to the FTP server using CLI which I have done successfully as I can see the files coming from the FTP.
Can somebody explain how i ccould connect the ftp server to my salesforce account using an http request and also how could i transfer and use the .Csv file to update/import the data into the salesforce custom object**
There are many methods to import data into Salesforce, however, FTP to Salesforce isn't one of them. I would either use the Salesforce Data Loader, if you have access to this data at the console, or use the Salesforce API for whatever platform you program in, to create a program that uses your FTP and can parse your data and deliver it to Salesforce through the API.
You're not going to be able to do this directly. You might look at using an intermediary system like TIBCO or Informatica. SFDC specifically prohibits FTP access.
Using your staging system, have it kick off an Apex bulk API job to do the import. You could do it with a cheap cloud server running your FTP box and a script that kicks off when a file is created in the specified directory, and then when the API job is done, archive or delete the original file and log files.
I have a .Net web application that is front-ending the ESB in order to create Proxies programmatically.
I am trying to push a xml proxy into the ESB path: repository/deployment/server/synapse-configs/default/proxy-services/ via FTP but it seems not to work.
I was trying this connection: ftp://admin:admin#localhost:9443/repository/deployment/server/synapse-configs/default/proxy-services/
There is any other way to upload my XML in the ESB? many thanks
EDIT: I know that one answer could be "yes, you can do that by using admin services", but that didn't work for me due to lack of documentation regarding adding proxies via admin services. So I am looking at alternatives like FTP, because I know that placing the xml directly in the Repo folder will work, the problem is accessing the folder.
As I understand, you are trying to use FTP to upload a file to a path. This doesn't involve invoking WSO2 ESB, does it?
Based on above understanding, it seems your port specified in FTP address is incorrect. I think you should use the port of the FTP server you are running in your machine. Unless you haven't edit its config, it should be 21. After this change, you need to provide absolute path instead of relative path /repository/...
Think about it as just another FTP upload. ESB automatically deploy any file that comes to /repository/deployment/server/synapse-configs/default/proxy-services/ regardless of how it came there.
Hope this helps!
I was looking for a proper way to add a proxy to the ESB, possibly using ws-admin services, but that wasn't really straightforward: problem with repositories, libraries etc...
I ended up with a quick a dirty solution: secure java ftp to the server (with jsch )in the proper folder of the proxies.
Thanks for your help anyway
You could create your proxy within the Web Interface of WSO2 (use a Web Browser):
localhost:9443/carbon/admin/login.jsp
Or add the proxy by just copying the file
mv myProxy.xml MY_WSO2/repository/deployment/server/synapse-configs/default/proxy-services/myProxy.xml
An FTP connection to localhost:9443 will not work. Otherwise explain why you need to use FTP?
Hi
I would like to retrieve documents from an ftp in my Windows phone 7 application (built with XNA in my case).
As far as I understand WP7 does not support ftp due to port and protocol(?) contraints.
Is there any way to get ftp support working?
I guess I will be able to implement it my self once socket support is added but I dopn't wan't to wait for that.
Cheers
/Jimmy
Since there are no supported socket capabilities in the initial release of WinPhone , you cannot directly FTP. You would have to create an "FTP Proxy" web service which your phone would call and have the service do the actual FTP and relay the files.
FTP and Sockets are not supported by the platform at the moment.
If you want to get remote files on to your phone you'll have to use HTTP(S).
You can do this either with the HttpWebRequest or WebClient classes depending on your specific needs.
Do you want to retrieve files fromn the phone, and over the cellular network? If so you need to confirm your operator allows ftp connections to your phone, which they probably do not.
If you're connecting over wifi, you've got more chance of this working.
Otherwise, you could implement a dropbox-style approach where the phone and your file-retrieving application both connect to a remote server
If this is for development purposes, you can get access to the phones storage and copy in files by using Microsoft's SmartDevices API.
I'm trying to do the same but so far the only way I've found around it is to create a web service to run on my own server which retrieves the FTP files on behalf on the phone.
Wish MS would hurry up and give us sockets - calling a web service is fine but I'm pretty sure it would be slower than directly getting the FTP files from the phone itself.