C# FTP Download Script Fails

try
//FtpWebRequest request = (FtpWebRequest)WebRequest.Create(@"//ftp.london.com/gem/");
//request.Proxy = null;
FileStream outputStream = new FileStream(@"C:\Downloads\Files\" + FTPFile, FileMode.Create);
reqFTP = (FtpWebRequest)FtpWebRequest.Create("ftp://username:[email protected]/" + "gem" + FTPFile);
reqFTP.Method = WebRequestMethods.Ftp.DownloadFile;
reqFTP.UseBinary = true;
reqFTP.Credentials = new NetworkCredential(FTPSettings.UserID, FTPSettings.Password);
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
ftpStream = response.GetResponseStream();
long cl = response.ContentLength;
int bufferSize = 2048;
int readCount;
byte[] buffer = new byte[bufferSize];
readCount = ftpStream.Read(buffer, 0, bufferSize);
while (readCount > 0)
outputStream.Write(buffer, 0, readCount);
readCount = ftpStream.Read(buffer, 0, bufferSize);
ftpStream.Close();
outputStream.Close();
//response.Close();
This is a little hard to troubleshoot, but I determined that the code fails on this line:
reqFTP.Credentials = new NetworkCredential(FTPSettings.UserID, FTPSettings.Password);
Everything works fine one several VMs, but when I just tried this exact same script on a new VM, it does NOT work.  I don't know if there is some setting that I need to check, or some kind of configuration, or what.  Again, this works on several
of my VMs, and it's been working fine for over a year.  Just today it failed on a new VM, and I have no idea why.
Here is the error message that I get.
Any idea what's wrong, anyone?
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

The user credentials you're using are not valid for the FTP server.  Verify the credentials and try again.
Michael Taylor
http://blogs.msmvps.com/p3net

Similar Messages

  • Power shell script failed to run - reasons for it and some background?

    Hi there
    I have been receiving some alerts with high repeat count that Powershell script failed to run.
    All of them are coming from one server and all of them are related to SQL2012 installation. The following scripts generate alerts:
    CPUUsagePercentDataSource.ps1
    StolenServerMemory2012.ps1
    DBDiskLatencyDataSource.ps1
    I am quite new to SCOM and still trying to find my way around conveniently - I would appreciate your help if you could explain me one thing: are these scripts executed locally or through remote PSSession to the target? The point is I couldn't find any of
    these scripts on my server to re-run them (and possibly catch exceptions).
    The repeat count for past two months is quite high, for 8 alerts between 25 / 80.
    Thanks in advance!
    AlexP

    The agent downloads the script and it is run locally on the agent machine, in your case the SQL Server. Usually most of these type scripts are held in the Agent folder under scritp/downloads, (sorry dont have the full path in front of me or I would give
    it to you).
    These errors are probably due to the fact that SQL 2012 does not give any rights to the Local System Account which is the context in which the SCOM agent runs scripts as, and is unable to access SQL information due to this fact. The easiest way to fix this
    is to setup a run as account, which would be an account on your domain that has local admin access to the SQL box and has SA rights to the instance of SqL running on that box. See the following blog posts on how to fix this.
    http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
    Hope this helps! this will probably create more questions...
    Scott Moss MVP (Operations Manager) President - System Center Virtual Users Group |Vice President - Atlanta Southeast Management Users Group (ATL SMUG)
    Please remember to click “Mark as Answer” on the post that helps you!
    my new blog om2012.wordpress.com

  • Script fails when passing values from pl/sql to unix variable

    Script fails when passing values from pl/sql to unix variable
    Dear All,
    I am Automating STATSPACK reporting by modifying the sprepins.sql script.
    Using DBMS_JOB I take the snap of the database and at the end of the day the cron job creates the statspack report and emails it to me.
    I am storing the snapshot ids in the database and when running the report picking up the recent ids(begin snap and end snap).
    From the sprepins.sql script
    variable bid number;
    variable eid number;
    begin
    select begin_snap into :bid from db_snap;
    select end_snap into :eid from db_snap;
    end;
    This fails with the following error:
    DB Name DB Id Instance Inst Num Release Cluster Host
    RDMDEVL 3576140228 RDMDEVL 1 9.2.0.4.0 NO ibm-rdm
    :ela := ;
    ERROR at line 4:
    ORA-06550: line 4, column 17:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    The symbol "null" was substituted for ";" to continue.
    ORA-06550: line 6, column 16:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev su
    But when I change the select statements below the report runs successfully.
    variable bid number;
    variable eid number;
    begin
    select '46' into :bid from db_snap;
    select '47' into :eid from db_snap;
    end;
    Even changing the select statements to:
    select TO_CHAR(begin_snap) into :bid from db_snap;
    select TO_CHAR(end_snap) into :eid from db_snap;
    Does not help.
    Please Help.
    TIA,
    Nischal

    Hi,
    could it be the begin_ and end_ Colums of your query?
    Seems SQL*PLUS hs parsing problems?
    try to fetch another column from that table
    and see if the error raises again.
    Karl

  • Start up script fails; Unable to boot...Please, Help.

    This is my first major problem that I have had with this computer. It has been running fine until this past Sunday night. I was running AOL, Firefox & iTunes. The computer was running slow and iTunes was skipping frequently. I rebooted and resumed my activities only to have the same problems and the computer booted slower than usual. I closed all my applications and rebooted once again. Then, I ran Disk Utility had used Verify Disk. It found an error on my system volume stating an incorrect block count in one sector and referenced a file cache_003, all other volumes passed. Disk Utility was unable to repair the volume. Repair Disk ran slow. I did a search for the file cache_003 and discovered that it was part of a Netscape profile back up on a different partition. I deleted the profile and used Disk Utility again. This time, the system volume passed and a different volume failed due to incorrect block size, Repair Disk failed. The next time I tried to boot the computer the gray screen with apple and loading indicator came up and stayed for several minutes followed by a blue screen with loading indicator for several minutes and stayed blue for nearly 40 minutes. Eventually, the screen went black and displayed that the start up script failed. Here is some of what was displayed.
    Darwin/BSD(Computer Name-Computer.local)(console)
    System Starter[35]
    login date&time Internet Sharing[96]:Libinfo[Socket_open():2318]connect():2318]connect:()connection refused (This line repeated continuously)
    I am able to input commands at this stage but I am not knowledgeable enough to know what to do.
    When I push the power button to turn it off the computer beeps once and the led light flashes three times and turns off.
    Each time when I attempt to boot either into Safe Mode or from the Software Install DVD I encounter the same problem.
    Now, Monday night by chance on another boot attempt the computer started up although it took about 20-30 minutes. It was missing one volume which showed up in Disk Utility under a different name. While I had the computer up I backed up what I could on the volumes that mounted. One file I was unable to burn using Toast 9 due to a data fork error. The computer eventually froze during my activities and since I have had no luck at my start up attempts and have had the same problem. Luckily, I was able to back up everything I needed with the exception of what was on the AWOL volume.
    The last thing I had installed recently was the latest Security Update which went fine and was two days before the trouble started.
    I am at a loss for what to do next. I would like to retrieve the files on that one volume but at this point if I can start up I would just like to reformat and install the OS.
    Any help with this problem would be much appreciated. Thank you.

    Well, originally when I ran Disk Utility, although it performed slower than usaual it found the error as previously mentioned and was unable to Repair Volume. As to using the Hardware Disc & Install Discs(original & Tiger) the computer failed to boot although you could hear the disc spinnning for awhile. In both and every instance regardless of any or no disc, the computer starts the boot process and you see the gray screen with white apple and loading indicator for about 3 minutes then it switches to the blue screen with loading indicator. After quite some time the loading indicator goes away and it's just a blue screen for nearly a half-hour followed by a black screen which starts the above prompt. I can post all of what that said later as I have written all of it down at home, a portion of it is in my original post. The start up chime doesn't sound at all. I do get a tone and flashing LED lights when I hold the power button down to turn it off after the above described boot process. There is not much I can do except try and try again. I may need to get a new hard drive but I would like to resolve it without doing so if possible. When trying to boot from both discs I was holding down the C key as directed and I have tried just letting the computer boot with disc in drive without any key interaction.

  • Getting Error in Adobe Form as Script failed (language is formcalc:context

    Hi Experts,
    While acessing Adobe forms from MSS ,
    After Selecting the Scenario
    After Edit Form
    Before the form is Displayed
    I am getting a POP-UP message stating the following Error.
    Script failed (language is formcalc;context is xfa[0].data[0].RequestSeparationEnhanced[0]. PCR_PAGE1[0].PCRheader[0].EmployeeDataCI[0].EmployeeDataCIContent[0].EmployeeInfo[0])
    Script=concat($record.ENAME.DATA.FIELD,u201D(u201C,$record.PERNR.DATA.FIELD,u201D)u201D)
    Error: acessor u2018$record.ENAME.DATA.FIELDu2019is unknown.
    Script failed (language is formcalc;context is xfa[0].data[0].RequestSeparationEnhanced[0].PCR_PAGE1[0].PCR_DE[0].PCRDEContent[0].RequestSeparationEnhanceDDLOverlay[0])
    Script=concat($record.MGTXT.DATA.FIELD,u201D(u201C,$record.MASSG.DATA.FIELD,u201D)u201D)
    Error: acessor u2018$record.MGTXT.DATA.FIELDu2019is unknown.
    ENAME & MGTXT are the fields which has to be displayed by default when the form is shown.
    But when the Adobe form is displayed it comes without any Value for ENAME - Employee Name
    MGTXT - Reason for Action Text .
    Please provide me solution to over come this problem.
    Thanking you in advance,
    Suriya.

    This was fixed by commenting the script in the form since I don't require it.
    Suriya

  • The Group Policy client-side extension Scripts failed ...

    This is an error I've been seeing forever and it was always the impression that upgrading would resolve it, but it never has even in 10.3. 100% of our users get these errors in the Event Viewer:
    Event Type: Error
    Event Source: Userenv
    Event Category: None
    Event ID: 1085
    Date: 10/21/2010
    Time: 8:04:52 AM
    User: NT AUTHORITY\SYSTEM
    Computer: XXXXXX
    Description:
    The Group Policy client-side extension Scripts failed to execute. Please look for any errors reported earlier by that extension.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    We also seem to have flakey policy issues where once in awhile a user will not be able to logon to Windows with Workstation Only while getting the " not allowed to logon interactively" message, other times the users report not being able to access the Windows Date and Time Properties and further sometimes they are unable to make system changes.
    We have troubleshooted this and the only resolutions we've found are to run zac cc, zac ref, zac pl and sometimes it seems like deleting c:\windows\system32\grouppolicy will help.
    In regards to the Event Viewer entry I posted, on any given machine I can issue the command gpupdate and it will put another entry into the Event Viewer (sometimes multiple ones). I've learned through research that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the errors go away, but once the policy is refreshed they come right back.
    This is the version ZenWorks gives the users:
    [General]
    gPCFunctionalityVersion=2
    gPCFunctionalityVersion=2
    gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    Version=6488106
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    This is the version I cleaned up:
    [General]
    gPCFunctionalityVersion=2
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    I'm not sure how to get Zenworks to use the cleaned up version nor and I too sure what those extra extensions are and how they got in there. I may need to contact Novell in regards to this, but since I'm already working on an SR with them I figured I'd go ahead and post here first.
    Any help or advice would be greatly appreciated.

    Here are the groups I'm using. NOTE: These have been in affect throughout the issues experienced. Users will work perfectly fine then suddenly the problem will start happening without any policy change on our side.
    -Member of-
    Network Configuration Operators+
    Remote Desktop Users+
    Users+
    -Assigned Rights under a group I called "Other Rights"-
    Access this computer from network
    Change the system time
    Log on locally
    Shut down the system
    The only condition I have is that these issues happen when logging in Workstation Only and I'm not able to recreate the problem on demand with tests.
    Originally Posted by craig_wilson
    The "Interactive Logon" is a Windows Security Permission.
    It is generally assigned to certain local groups such as "User".
    Which groups are assigned this right can be changed manually and
    controlled by local security policies.
    When user's get this error, it generally means their account is not in a
    local group that has been assigned that right.
    If using "DLU", make sure the user accounts are a member of "Users".
    And If anyone was messing with security policies, make sure they did not
    take away "Interactive Logons" from anyone.
    On 10/29/2010 7:06 AM, jcsmith1 wrote:
    >
    > Thanks for replying craig.
    >
    > My policy woes have only grown since my first post. We are currently
    > testing the removal of administrative rights and now we're having
    > teleworkers (who login Workstation Only) getting the message "policy
    > does not allow interactive login". What -seems- to fix it is a zac cc,
    > zac ref and zac pl, however we just started getting call backs from
    > users.
    >
    > I seem to have no further leads and Novell's ZenWorks tech supports
    > seems to be going through some kind of painful-to-the-customer
    > transition as one of my thoughts on resolving the issue is to go to 10.3
    > or 10.3.1, but my Satellites appear to be upgrading but in reality do
    > not upgrade (but the primary servers upgraded) (See SR 10655976331).
    >
    > Does anyone knows how to troubleshoot policy issues when the users
    > aren't loggin into ZCM?
    >
    > craig_wilson;2036646 Wrote:
    >> See: 'Group Policy Error: The Group Policy client-side extension Script
    >> failed to execute.'
    >> (Group Policy Error: The Group Policy client-side extension Script failed to execute.)
    >>
    >> This would never be fixed in any patch, since it would be the job of
    >> GPEDIT to properly maintain the GPT.INI.
    >>
    >> Most of the Time these errors are cosmetic and caused by stray script
    >> extensions.
    >>
    >> You may want to create an Enhancement Request to allow the creation of
    >> "Filters" so certain errors are discarded and not sent to the DB/ZCC.
    >> This way an Admin could choose to filter out various error messages
    >> that
    >> they deem are not actually of concern.
    >>
    >> On 10/21/2010 9:36 AM, jcsmith1 wrote:
    >>>
    >>> This is an error I've been seeing forever and it was always the
    >>> impression that upgrading would resolve it, but it never has even in
    >>> 10.3. 100% of our users get these errors in the Event Viewer:
    >>>
    >>> -Event Type: Error
    >>> Event Source: Userenv
    >>> Event Category: None
    >>> Event ID: 1085
    >>> Date: 10/21/2010
    >>> Time: 8:04:52 AM
    >>> User: NT AUTHORITY\SYSTEM
    >>> Computer: XXXXXX
    >>> Description:
    >>> The Group Policy client-side extension Scripts failed to execute.
    >>> Please look for any errors reported earlier by that extension.
    >>>
    >>> For more information, see Help and Support Center at
    >>> http://go.microsoft.com/fwlink/events.asp.
    >>> -
    >>> We also seem to have flakey policy issues where once in awhile a
    >> user
    >>> will not be able to logon to Windows with Workstation Only while
    >> getting
    >>> the " not allowed to logon interactively" message, other times the
    >> users
    >>> report not being able to access the Windows Date and Time Properties
    >> and
    >>> further sometimes they are unable to make system changes.
    >>>
    >>> We have troubleshooted this and the only resolutions we've found are
    >> to
    >>> run zac cc, zac ref, zac pl and sometimes it seems like deleting
    >>> c:\windows\system32\grouppolicy will help.
    >>>
    >>> In regards to the Event Viewer entry I posted, on any given machine
    >> I
    >>> can issue the command gpupdate and it will put another entry into
    >> the
    >>> Event Viewer (sometimes multiple ones). I've learned through
    >> research
    >>> that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the
    >> errors
    >>> go away, but once the policy is refreshed they come right back.
    >>>
    >>> This is the version ZenWorks gives the users:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    >>>> Version=6488106
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> This is the version I cleaned up:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> I'm not sure how to get Zenworks to use the cleaned up version nor
    >> and
    >>> I too sure what those extra extensions are and how they got in there.
    >> I
    >>> may need to contact Novell in regards to this, but since I'm already
    >>> working on an SR with them I figured I'd go ahead and post here
    >> first.
    >>>
    >>> Any help or advice would be greatly appreciated.
    >>>
    >>>
    >>
    >>
    >> --
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Knowledge Partner
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational
    >> human.
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • FTP download speed issue

    Hi,
    This problem only started occurring from yesterday, but I'm getting very poor FTP download speeds.
    I use a dedicated server to store my work files then download at home but I'm finding it impossible now.
    Speeds no higher than 150kb/s even though I have 80mb unlimited.
    If I download any test files over HTTP I get full speed, its just an FTP issue (port 54630)
    I've rebooted router / reconnected etc... With no luck
    Can anyone help?
    Much appreciated

    Are you sure you are not getting confused with Mbps  (Megabits per second) and MBs (Megabytes per second)?
    Megabytes are Megabits divided by eight.
    So a download speed of 17Mbs equates to an actual data transfer rate of 2.125MBs (Megabytes), which is what you are getting.
    Download managers usually use megabytes and not megabits, so there is nothing wrong with your connection.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Ecatt script fails due "Error in OLE API method Call"  error

    Hi ,
    Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    Please help in solving this issue.
    Thanks,
    Asha

    >
    Asha Nagaraj wrote:
    > Hi ,
    >
    > Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    >
    > We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    >
    > Please help in solving this issue.
    >
    > Thanks,
    > Asha
    Hi Asha,
    Are those components are connected and the necessay settings has been done?
    Regards,
    SSN.

  • I have an iPhone 4 and the iOS 4.3.5 download keeps failing - error states its corrupted.

    I have an iPhone 4 and the iOS 4.3.5 download keeps failing.  It downloads then I get a message stating that the download was corrupted and couldn't be installed.  I've tried it with bitdefender switched off.  I've tried it with it in airplane mode.  My partner has tried to update their iPhone on a different computer to mine and is also getting the same problem and error message.  Help!

    That's exactly right.  And since you have a MacBook Air (as I do), that means the synching should occur just fine (if you've set it up right in iTunes).  In other words, once you actually do the update, the iTunes on your MacBook Air will re-sync your photos back to your iPhone.
    Basically, the process is that your iPhone gets backed up, wiped clean, then the new iOS version gets installed, then the backup gets restored.  That will restore everything in the article above, which does not include your photos.  But the sync process that happens after the iOS installation would restore your photos from iPhoto given you've set it up that way in iTunes.
    When you have your iPhone plugged into iTunes, while looking at the iPhone's summary page, click "Photos" on the right side of iTunes to see how you have your sync set up.
    Regardless, it sounds like you'll be fine!  Your photos will wind up in iPhoto once you place them there.  They will be safe there.

  • FTP download

    Hi experts,
    I have a scenario with two steps which are link by Predecessor/Sucessor.
    First step export an order of Sap B1 to a file in a FTP.
    Second step get back this file from FTP and create a Delivery Notes in Sap.
    I need to specify which file I want to get back. I don't know what I have to put in FilePattern of FTP Download.
    In the outbound message of my first step I haven't the name of the file that I have create.
    How can I do to get back the name of this file and to use it for the FilePattern of FTP download?
    Thank you
    Regards
    Sarah

    Hello Sarah,
    you can use the same upload pattern, to get a list of files, you'll receive a return like this:
      <ftp.filename>/in/COS???.csv</ftp.filename>
      <ftp.file>
      <FileList xmlns="" dir="/in/COS???.csv">
      <File name="COS001.csv" path="/" permission="-rw-rw-rw-" type="file" size="536" owner="user" group="group"/>
      <File name="COS002.csv" path="/" permission="-rw-rw-rw-" type="file" size="536" owner="user" group="group"/>
      </FileList>
      </ftp.file>
      </Payload>
    So you can select the last <File> node to catch the last file uploaded. Create another ftp inbound call atom to get the specific file. You can check the delete option to delete the file after download, if you don't want to store too many files. I hope this would be useful.
    Kind Regards,
    Leo.

  • Download Manager - failing with error 400 Bad Request

    Each time I try to download some patches from the download basket I get this error: The request failed: 400.  Download Manager says the files are Partially Downloaded but the downloads never complete (they just cycle round one after another attempting each download before failing).  The connection to SAP ssems to be made correctly (see trace file extract below)
    I'm running JRE version 1.4.2_12; download manager ver 2.1.130.  I've tried uninstalling & reinstalling JRE & download manager (numerous times).  Does anyone have any suggestions about what might be the cause?
    Thanks, Chris
    PS - This is the relevant part of the trace file:
    24-Aug-2007 09:29:06   Opening connection to 'https://smpdla.sap.com:443/00000084/217/KGPHA68.CAR?object_id=011000358700000405252007E&filepath=00000084\217\KGPHA68.CAR&uid=S0003245349'
    24-Aug-2007 09:29:06   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:13   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:13   Response received: 400 Bad Request
    24-Aug-2007 09:29:13   Response Http Headers:
    24-Aug-2007 09:29:13      Server=AkamaiGHost
    24-Aug-2007 09:29:13      Mime-Version=1.0
    24-Aug-2007 09:29:13      Content-Type=text/html
    24-Aug-2007 09:29:13      Content-Length=340
    24-Aug-2007 09:29:13      Expires=Fri, 24 Aug 2007 08:28:49 GMT
    24-Aug-2007 09:29:13      Date=Fri, 24 Aug 2007 08:28:49 GMT
    24-Aug-2007 09:29:13      Connection=close
    24-Aug-2007 09:29:13   Response code: 400
    24-Aug-2007 09:29:18   Notifying subscribers of download state ...
    24-Aug-2007 09:29:18   The download has terminated ...
    24-Aug-2007 09:29:18   getUserProxy: true
    24-Aug-2007 09:29:18   getEffectiveProtocol: http
    24-Aug-2007 09:29:18   detected: http / https w/o proxy request
    24-Aug-2007 09:29:18   SMPResponse::sendRequestNormal
    24-Aug-2007 09:29:18   Opening connection to 'http://service.sap.com:80/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'
    24-Aug-2007 09:29:18   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:25   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:25   Redirecting to 'https://WEBSMP108.SAP-AG.DE/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'...
    24-Aug-2007 09:29:25   getUserProxy: true
    24-Aug-2007 09:29:25   getEffectiveProtocol: https
    24-Aug-2007 09:29:25   detected: http / https w/o proxy request
    24-Aug-2007 09:29:25   SMPResponse::sendRequestNormal
    24-Aug-2007 09:29:25   Opening connection to 'https://WEBSMP108.SAP-AG.DE/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'
    24-Aug-2007 09:29:25   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:25   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:25   Response received: 200 OK
    24-Aug-2007 09:29:25   Response Http Headers:
    24-Aug-2007 09:29:25      Date=Fri, 24 Aug 2007 08:29:02 GMT
    24-Aug-2007 09:29:25      Server=Microsoft-IIS/6.0
    24-Aug-2007 09:29:25      Content-Type=text/plain
    24-Aug-2007 09:29:25      Content-Length=44
    24-Aug-2007 09:29:25   getUserProxy: true
    24-Aug-2007 09:29:25   getEffectiveProtocol: http
    24-Aug-2007 09:29:25   detected: http / https w/o proxy request
    24-Aug-2007 09:29:25   SMPResponse::sendRequestNormal
    24-Aug-2007 09:29:25   Opening connection to 'http://service.sap.com:80/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'
    24-Aug-2007 09:29:25   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:25   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:25   Redirecting to 'https://WEBSMP209.SAP-AG.DE/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'...
    24-Aug-2007 09:29:25   getUserProxy: true
    24-Aug-2007 09:29:25   getEffectiveProtocol: https
    24-Aug-2007 09:29:25   detected: http / https w/o proxy request
    24-Aug-2007 09:29:25   SMPResponse::sendRequestNormal
    24-Aug-2007 09:29:25   Opening connection to 'https://WEBSMP209.SAP-AG.DE/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'
    24-Aug-2007 09:29:25   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:26   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:26   Response received: 200 OK
    24-Aug-2007 09:29:26   Response Http Headers:
    24-Aug-2007 09:29:26      Date=Fri, 24 Aug 2007 08:29:03 GMT
    24-Aug-2007 09:29:26      Server=Microsoft-IIS/6.0
    24-Aug-2007 09:29:26      Content-Type=text/html
    24-Aug-2007 09:29:26      Content-Length=2416
    24-Aug-2007 09:29:26   Number of URLs: 1
    24-Aug-2007 09:29:26   Description lines: 56
    24-Aug-2007 09:29:26   Adding HTTP1/1 Header: Range: bytes=0-*
    24-Aug-2007 09:29:26   getUserProxy: true
    24-Aug-2007 09:29:26   getEffectiveProtocol: https
    24-Aug-2007 09:29:26   detected: http / https w/o proxy request
    24-Aug-2007 09:29:26   SMPResponse::sendRequestNormal
    24-Aug-2007 09:29:26   Opening connection to 'https://smpdla.sap.com:443/00000085/652/KGPHA69.CAR?object_id=011000358700000485532007E&filepath=00000085\652\KGPHA69.CAR&uid=S0003245349'
    24-Aug-2007 09:29:26   Sending request to SAP Service Marketplace Server (no tunneling)
    24-Aug-2007 09:29:33   A response was received from the SAP Service Marketplace Server.
    24-Aug-2007 09:29:33   Response received: 400 Bad Request
    24-Aug-2007 09:29:33   Response Http Headers:

    Yes - I've checked the address w're pointing to & have rechecked several times with our network people re: the proxy.
    The trace seems to show that we're certainly making the initial connections to SAP OK - it just gives up after a few redirections.
    Chris

  • Since V.6, I've been getting this message when I download: Script: chrome://mozapps/content/downloads/downloads.js:1203 I have Mac 1.83GHz Core Duo 2GBram

    Beginning with Version 6 and now with Version 7, I've been getting a hang and this message when I download:
    Script: chrome://mozapps/content/downloads/downloads.js:1203
    Stop Script or continue?
    I have Mac 1.83GHz Core Duo 2GBram

    Hi,
    Please try couple of probable solutions as mentioned below:
    Solution 1:
    1. Close Elements.
    2. Launch the Photoshop Elements Welcome Screen and hold down Cmnd+ alt + shift as you click Editor.
    3. Continue to hold the keys until you see a message box asking if you want to delete Photoshop Elements settings file; click Yes. Elements will open with default preferences.
    Solution 2: In case any network printer is attached try to launch without network or printer uninstall or make different printer as default.
    Now launch PSE and check if it works.

  • SCOM 2012 SP1 - PowerShell Script failed to run - 3 alerts appear after every reboot of the SCOM Server

    Brand new SCOM 2012 SP1 install with Update Rollup 1 applied
    Single server, local SQL install, SQL Server 2012 SP1
    Hyper-V VM running on Server 2012.  VM has 8GB Ram, single vCPU
    Going through initial management pack importing and configuration, at this point I have the Windows Server 2012 and SQL 2012 MP's installed.
    See screenshot
    http://i.imgur.com/l0Molh1.png
    I am getting the following alerts in my SCOM console and cannot find a resolution to fix the issue.  I don't want to set an override, as an override will prevent the PowerShell alert in other instances, where I might want to receive an alert.
    Looking at the alert description, it states "The Data Access service is either not running or not yet initialized"
    The SCOM Console launches and responds fine, and I get no other errors.  I check the Data Access service and it is online.  I have left the system alone for a couple of hours and no other errors.  I then closed those alerts and restarted the
    server, and they came right back in, so I know that this is something that is happening at either server startup of during the start of the SCOM services.
    Is it possible that SCOM is trying to execute these scripts and the Data Access service has not come online yet?
    Has anyone else come across this before?

    Please try the method in the following thread:
    Note: As there is operations related to Registry, please perform a backup before doing this.
    OpsMgr 2012 - Power Shell Script failed to run 
    http://social.technet.microsoft.com/Forums/de-DE/systemcenterde/thread/4be37f8d-1e7b-450c-8cb9-f1e95f3b2bd0/
    Thanks.
    Nicholas Li
    TechNet Community Support

  • Oracle Open Script - Failed to open script error

    I am receiving the following error when trying to open a script in Oracle open script
    'Failed to open script' has encountered a problem.Failed to open <script_name>. See error log for details.
    I have tried the Giri Mandalika's solution but there is no "<failing_script_name>" folder in specified path.
    Can someone please help me to resolve this issue ?

    Hi ,You can try deleting the osworkspace folder .The folder should be at C:\Users\<username>\. May be take a back up copy of the folder before deleting it.Let me know if it works.

  • The PowerShell script failed with below exception

    I'm receiving the following errors on all SQL Express Servers (every machine that has SQL Express inside).
    it seems that the discovery has found SQL Express but could not connect to the instance.
    details on the alerts:
    Date and Time:
    10/22/2013 12:04:22 PM
    Log Name:
    Operations Manager
    Source:
    Health Service Modules
    Generating Rule:
    Collect Power Shell Module Events
    Event Number:
    22406
    Level:
     Error
    Logging Computer:
    SQLEXPRESS.DOMAIN.COM
    User:
    N/A
    Description:
    The PowerShell script failed with below exception
    System.Management.Automation.RuntimeException: Exception calling "Fill" with "1" argument(s): "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not
    accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
    At line:44 char:19
    + $SqlAdapter.Fill <<<< ($DataSet)|out-null
    at System.Management.Automation.FlowControlNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
    at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
    at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
    Script Name: StolenServerMemory2008.ps1
    One or more workflows were affected by this.
    Workflow name: Microsoft.SQLServer.2008.DBEngine.StolenServerMemoryMonitor
    Instance name: SQLEXPRESS
    Instance ID: {9705795C-4F3B-C2EF-AA7D-C736B40FD6A4}
    Management group: SCOMGROUP 

    Some additional inf.
    http://stackoverflow.com/questions/6466974/unable-to-connect-to-sql-express-error-26-error-locating-server-instance-speci?rq=1
    anyway you can disable this rule/monitor as no control from monitoring solution in that case. Or try to rewrite the same monitor...
    The problem in your case is when function tries to get Max Server Memory MB by connecting to master DB, but you can replace it with performance counter like Target Server Memory (KB)...
    just see the function main in StolenServerMemory2008.ps1 and what you need to replace
    $api = New-Object -comObject "MOM.ScriptAPI"
    $bag = $api.CreatePropertyBag()
    $msg = [Environment]::NewLine
    $err = [Environment]::NewLine
    #try {
    $maxMemoryMB = GetMaxServerMemoryMB $ComputerName $InstanceName
    $stolenPages = (Get-Counter ("\" + $PerformanceCounterObject + ":Buffer Manager\Stolen Pages")).CounterSamples[0].CookedValue
    $pakeSizeKB = 8
    [double]$stolenMemoryMB = $stolenPages * $pakeSizeKB / 1024                                      
    [double]$stolenMemoryPercent = 0
    if($maxMemoryMB -gt 0){
    [double]$stolenMemoryPercent= 100.0 * $stolenMemoryMB / $maxMemoryMB
    $bag.AddValue("StolenMemoryMB", $stolenMemoryMB)
    $bag.AddValue("StolenMemoryPercent", $stolenMemoryPercent)                                  
    $msg += "StolenMemoryMB=$stolenMemoryMB StolenMemoryPercent=$stolenMemoryPercent"
    $msg += [Environment]::NewLine                          
    #debug $api.LogScriptEvent("SQL 2008 Stolen Server Memory data source", $SCRIPT_EVENT_ID, $INFORMATION_EVENT_TYPE, $msg + $err)                     
    #catch {
    #             $header = "Managegement Group: $Target/ManagementGroup/Name$. Script: {0}" -f ($MyInvocation.MyCommand).Name.ToString()
    #             $msg += "Error occured during SQL 2008 Stolen Server Memory data source executing.{0}Computer:{1} {0}Reason: {2}" -f [Environment]::NewLine, $env:COMPUTERNAME, $_.Exception.Message
    #             $api.LogScriptEvent($header, $SCRIPT_EVENT_ID, $ERROR_EVENT_TYPE, $msg + $err)                           
    $bag

Maybe you are looking for

  • WHT on Advance

    Hi All, I have an query, The client pays an advance to vendor for which TDS is deducted, after the invoice verfication he clears the down payment with invoice- during clearing TDS deducted at the time of advance will be debited. for example :- Down P

  • Is there a way to cycle a while loop on its own and only controlled by the number of cycles?

    Hello everyone,  Newcomer here, recenlty just took core 1 and 2 the past couple of months is there a way to cycle my while loop so that the daq assist receives the same outputs from the list box table? So pretty much I need the VI to be able to read

  • Zen V Plus - how to change quality in video convert

    Hi there, I?ve just bought the ZEN V Plus MP3 player and I?m very disappointed with the Video Convertor. I would love to watch video files on my ZEN, but, when I want to copy file to memory, I have to convert it with that program, but, it'ss impossib

  • Migration of jd edward appl from SQL Server to ORacle

    IHAC who is running JD Edwards on SQL Server (about 50GB) and want to convert to Oracle 9i/10g Release. Did anyone done this migration on JDEdwards application and would like to hear the complexities involved in the SQL/Stored Proc/Trigger Conversion

  • Printing ADDRESS in Adobe form in capitals only

    Hi I am using Address Node in Adobe form by passing ADRNR ( Address Number) and country to it to print Address . It is coming in small letters. I need only in CAPITALS. Please guide.