EDN Admin
Well-known member
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.PathTooLongException:
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Im using this code in ;
<pre class="x_x_default x_x_prettyprint x_x_prettyprinted
[/code]
where:
Kindly help me .
View the full article
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Im using this code in ;
<pre class="x_x_default x_x_prettyprint x_x_prettyprinted
Code:
<span class="kwd public<span class="pln <span class="kwd void<span class="pln <span class="typ Main<span class="pun ()<span class="pln
<span class="pun {<span class="pln
<span class="typ System<span class="pun .<span class="typ Net<span class="pun .<span class="typ WebClient<span class="pln myWebClient <span class="pun =<span class="pln <span class="kwd new<span class="pln <span class="typ System<span class="pun .<span class="typ Net<span class="pun .<span class="typ WebClient<span class="pun ();<span class="pln
myWebClient<span class="pun .<span class="typ DownloadFile<span class="pun (<span class="typ Dts<span class="pun .<span class="typ Variables<span class="pun [<span class="lit 0<span class="pun ].<span class="typ Value<span class="pun .<span class="typ ToString<span class="pun (),<span class="pln
<span class="typ Dts<span class="pun .<span class="typ Variable<span class="pun [<span class="lit 1<span class="pun ].<span class="typ Value<span class="pun .<span class="typ ToString<span class="pun ());<span class="pln
<span class="typ Dts<span class="pun .<span class="typ TaskResult<span class="pln <span class="pun =<span class="pln <span class="pun (<span class="kwd int<span class="pun )<span class="typ ScriptResults<span class="pun .<span class="typ Success<span class="pun ;<span class="pln
<span class="pun }
where:
Code:
Dts.Variables[0].Value.ToString() == https://secure.f-prot.com/keyportal/cgi-bin/keyportalorder.pl?u=l&p=ooetcetcd&product_id=1&number_of_u=3&type=1&length=a&partner_id=2932&order_ref=4&account_reference_name=audney&account_reference_value=margaretculclagers%sbcglobal.net
Code:
Dts.Variables[1].Value.ToString() == C:Audiney_API_Filekeyportal_accountinfo.pl.xml
View the full article