I have an XML file in FTP server, I need to read that file and loaded into document object in salesforce. I have read the below link but I am not able to understand. . Can we do an HTTP request to the FTP server..? If yes how I can achieve this without using Third-party tools like jitterbit or skyvia .Can anyone help me to solve it?  Thanks
My question is how I can intergrate Salesforce with different FTP servers in real time. I have read some articles about it, but to be absolutely sure I thought it would be a good idea to post a question here.  I want to be able to send and receive data from Salesforce as a csv file to a ftp server. How I'm thinking about doing this is listed below.  Send the data:  Create a apex class which query the necessary data in Salesforce and create a csv file. I guess this is trivial? Then send the file to a web service created in Salesforce, just by calling it in the apex code. Create a web service in Salesforce which receives the data from the apex code. This web service should in some way send the data to the appropriate ftp server. I guess I can simply modify some of the code provided by Salesforce to make this work? The file is sent. Receive the data  This one is a bit trickier. I guess I have to pull the data from the FTP server by using my web service, which then send the file collected to the appropriate apex class. Or, the FTP server could send the data to the SFDC web service, I don't know if this is possible? The web services on the other side that sends the data to the ftp server, could send it directly to the SFDC web service, which then again forward it to the apex class. I guess the web service will use the remote site url to connect to the SFDC web service?
How to disable captive portal detection? How to remove exclamation mark on Wi-Fi or signal icon in Lollipop? When connected to the Internet, the system checks if it's in a walled garden, which is simply trying to connect to Google. If it fails, in Android 5, there'll be an exclamation mark on the WiFi icon or signal icon.   In some situations, this is annoying. Say, in China, Google is blocked, the exclamation mark will always be there, which is meaningless.  How can I disable this check, and make the system assume, connected WiFi/mobile data is connected Internet? Is it possible to run Microsoft Office 2010? Pass extra parameters to WebSQL callback function? In a technical environment, what is the most suitable sentence to use when answering to someone about a problem that they had and we solved it for them:   The problem is solved The problem has been solved How can see call history in iPhone one month back, i also tried with tried party software but that is not perfect , is the any solution from apple? I would like to remove page numbering on a specific page. However, the header and footer should remain intact. If I try:  \thispagestyle{empty}   The header and footer disappear. What is the recommended way of removing just the page number? Prove the following inequality:   $$\dfrac{e^x + e^{-x}}2 \le e^{\frac{x^2}{2}}$$   This should be solved using Taylor series.  I tried expanding the left to the 5th degree and the right site to the 3rd degree, but it didn't help.  Any tips? Are there any infinite series about which we don't know whether it converges or not? Or are the convergence tests exhaustive, so that in the hands of a competent mathematician any series will eventually be shown to converge or diverge? EDIT: People were kind enough to point out that without imposing restrictions on the terms it's trivial to find such &quot;open problem&quot; sequences. So, to clarify, what I had in mind were sequences whose terms are composed of &quot;simple&quot; functions, the kind you would find in an introductory calculus text: exponential, factorial, etc. bash dynamic (variable) variable names Why are newer generations of processors faster at the same clock speed? Why, for example, would a 2.66 GHz dual-core Core i5 be faster than a 2.66 GHz Core 2 Duo, which is also dual-core?  Is this because of newer instructions that can process information in fewer clock cycles? What other architectural changes are involved?     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this question. Feel free to edit the answers to add additional details. How can I tell if sheet a exists in a workbook? I have the following code that's not working as expected:  If Sheets("a") &lt;&gt; "" Then MsgBox ("sheet a exists")   How can I tell if sheet a exists in the workbook? As per the following example, and as in  In bash, where has the trailing newline char gone?, I want to know "why" it happens    x="$(echo -ne "a\nb\n")" ; echo -n "$x" | xxd -p  # Output is: 610a62  # The trailing newline from the 'echo' command #   has been "deleted" by Command Substitution   I assume there must be some very significant reason for a shell action, namely Command Substitution, to actually delete some data from the command output it is substituting... but I can't get my head around this one, as it seems to be the antithesis of what it is supposed to do.. ie. to pass the output of a command back into the script process... Holding back one character seems weird to me, but I suppose there is a sensible reason for it...  I'm keen to find out what that reason is... I need to externally limit a process/session to a certain number of cores.  Are there any other possibilities than CPU affinity (I don't like the need to specify the actual cores) and cgroups (hard to integrate into our project)? For regression problem, I have seen people use "coefficient of determination" (a.k.a R squared)  to perform model selection, e.g., finding the appropriate penalty coefficient for regularization.   However, it is also common to use "mean squared error" or "root mean squared error" as a measure of regression accuracy.  So what is the main difference between these two? Could they be used interchangeably for "regularization" and "regression" tasks?  And what are the main usage of each in practice, such as in machine learning, data mining tasks? I need to insert 800000 records into an MS Access table. I am using Delphi 2007 and the TAdoXxxx components. The table contains some integer fields, one float field and one text field with only one character. There is a primary key on one of the integer fields (which is not autoinc) and two indexes on another integer and the float field.  Inserting the data using AdoTable.AppendRecord(...) takes > 10 Minutes which is not acceptable since this is done every time the user starts using a new database with the program. I cannot prefill the table because the data comes from another database (which is not accessible through ADO).  I managed to get down to around 1 minute by writing the records to a tab separated text file and using a tAdoCommand object to execute  insert into table (...) select * from [filename.txt] in "c:\somedir" "Text;HDR=Yes"   But I don't like the overhead of this.  There must be a better way, I think.  EDIT:  Some additional information:   MS Access was chosen because it does not need any additional installation on the target machine(s) and the whole database is contained in one file which can be easily copied. This is a single user application. The data will be inserted only once and will not change for the lifetime of the database. Though, the table contains one additional field that is used as a flag to indicate that the corresponding record in another database has been processed by the user. One minute is acceptable (up to 3 minutes would be too) and my solution works, but it seems too complicated to me, so I thought there should be an easier way to do this. Once the data has been inserted, the performance of the table is quite good. When I started planning/implementing the feature of the program working with the Access database the table was not required. It only became necessary later on, when another feature was requested by the customer. (Isn't that always the case?)   EDIT:  From all the answers I got so far, it seems that I already got the fastest method for inserting that much data into an Access table. Thanks to everybody, I appreciate your help. What does it mean to say "a divides b" I am not a number theorist and I am learning about relations.  I encountered a relation that says      $a \leq b$ if $a$ divides $b$   Can someone clarify what it means to a number to divide another number?  Does it mean what I think? $a$ divides $b$ if $a | b \in \mathbb{Z}$?     So given a set $S = \{a, a^2, a^3, \ldots\}$, with relation $a | b \leftrightarrow a \leq b$, does the relation hold   going from left to right or right to left? i.e. $a|a^2, a^2|a^3, \ldots$ Union of connected subsets is connected if intersection is nonempty Limit of $\frac{\log(n!)}{n\log(n)}$ as $n\to\infty$. I can't seem to find a good way to solve this.  I tried using L'Hopitals, but the derivative of $\log(n!)$ is really ugly. I know that the answer is 1, but I do not know why the answer is one.  Any simple way to go about this? Find a circle's radius with three known tangent lines I need to find the equation for a circle (mainly its radius) which is tangent to the following three lines:  $y = 0$  $y = \tan(70)x$  $y = -1.428148x + 0.790201$  For the last tangent line equation, I know that it is tangent at the point $(0.371272, 0.259968)$ However, for the other two I do not know the exact point of tangency, only that the circle is tangent to them. Sometimes after I fry something, I wash it immediately in water because it's a bit easier to wash (before the remains stick to the pan).  Does this damage the pan in any way?