Broadcasting file without server

Dear Sir, 
I m sumit kumar Network Administrator in IDC technologies. i need to ask question is there any way or possibility to broadcast file and batch file without using server.. because in my office environment here is no server only using firewall 60 c.
so i need some help if there is any way to broadcast file or batch file's.      
Thanks & Regards,,
Sumit Kumar Verma
Mailto  :- [email protected]
Gtalk    :- [email protected]  

A SharedObject might work for you. Otherwise, you'll need a
'wrapper' app.
Adobe's own Director works very well for this, and AIR would
work as well.
There are also a good number of 3rd party apps, such as Zinc
and others.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Write to text file without server side

    Hi,
    I need to write data into a text file for saving data from my
    flash movie, but I didn't have the possibility to use a
    server-side.
    Because my flash movies are stored on a CD and it must be
    compatible with Windows and MacOS.
    Is it possible to write data into a text file?
    If no, can I use a third party software? Which one?
    Regards
    YamNet

    A SharedObject might work for you. Otherwise, you'll need a
    'wrapper' app.
    Adobe's own Director works very well for this, and AIR would
    work as well.
    There are also a good number of 3rd party apps, such as Zinc
    and others.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Uploading a file to server using servlet (Without using Jakarta Commons)

    Hi,
    I was trying to upload a file to server using servlet, but i need to do that without the help of anyother API packages like Jakarta Commons Upload. If any class for retrieval is necessary, how can i write my own code to upload from client machine?.
    From
    Velu

    <p>Why put such a restriction on the solution? Whats wrong about using that library?
    The uploading bit is easy - you put a <input type="file"> component on the form, and set it to be method="post" and enctype="multipart/form-data"
    Reading the input stream at the other end - thats harder - which is why they wrote a library for it. </p>
    why i gave the restriction is that, i have a question that <code>'can't we implement the same upload'</code>
    I was with the view that the same can be implemented by our own code right?

  • Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Hi Howard,
    As I know, Microsoft does not provide any kind of inbuilt tool or free software to only view OST file, even without the connectivity with exchange server (Offline).
    Try SysTools OST Viewer freeware which helps you to view all OST file save at your system in an easy way, whether you want to see the attachments or other items of OST file.
    Note: This is a free inbuilt utility, but try it on your own risk as I am not much aware about it and its working. But this tool sounds good according to your requirement and hopefully it would give you 100% satisfaction.
    Thanks
    Clark Kent

  • Serving Text files without html extension as html pages

    I have a large site that has a number of legacy html files with no extensions. The site was running under 10.3 just fine. Just reinstalled 10.4 and now these pages are rendered as plain text in the browser.
    I've tried adding a blank entry in the extensions under the text/html mime/type setting but doing so creates an error which stops the server. I've got hundreds of these files stored for several years that I don't want to go back through and add a .html on the end of.
    How can I get the web server to treat a file without an extension as an html file?

    I know this isn't an answer to the question you're asking, but are you sure you want that behavior? There might be times where you want an extensionless file to be loaded as a plain text file. At the very least, it will help make your site more compatible.
    If all these files are collected in the same area on your system, it might be best to give them the .html extension.
    You can do this relatively painlessly with virtually any scripting language. I know I've even seen an AppleScript that will go through a batch and change the extension for you. You might want a modified one that will first check for the start/end HTML tags in the file first to make sure you're only changing HTML files. A quick Google search for scripting a filename change will probably yield lots of results (check Perl and PHP resource sites as well).

  • How do I manage open files in Server 2012 without resorting to 3rd party application?

    How do I manage open files in Server 2012 without resorting to 3rd party application?
    I cannot find the Mange open files in FSRM.
    Thanks

    Wouldn't it make sense to place it in the server manager / shares section?
    I mean, second to creating or finding a share, isn't this what most users would be after?
    For like 20 years we've been trained to right click to find stuff Microsoft is hiding, and right click don't do nothin' here.  You gotta go hunting under tools.   Or, forget the new half-baked interface with half of what you need and go old school,
    direct to Start - Computer..Right Click.. whoops... that doesn't exist anymore.....
    Drool.........drool.............Find that hiding, blinking start button in a RDP session, click start after three trys,  and TYPE IN "Computer Management" .  Right Click, Pin it to your desktop, pin it to the start screen, pin it to the taskbar, send
    it to OneNote, and upload it to skydrive  so you can find it again, then get back to what you were doing....to find the cottin' pickin open files and kick your users off so you can have your way with the server.

  • Deploying the new war file without stopping the server

    How can i deploy my updated application war file without stopping the server as the user sessions in my application and transactions as well as users request has to be carried out during the deploy process.
    Edited by: Kaywin on Jan 28, 2008 10:39 AM

    You can update web application via Administration GUI and then deploy the configuration. You don't have to restart the server for it. Assuming you are using 7.0 u2, follow the steps as below to update the web application:-
    - Login to Administration Console
    - Go to Virtual Servers tab under a Server Configuration, for deploying a web application (Configurations -> <config_name -> Virtual Servers -> <vs_name>)
    - Click on Web Applications tab and check the web application in the "Web Applications" table and then click on Update button.
    - Point to the updated war file in the pop up and click ok
    - Now just deploy the configuration by clicking on "Deployment Pending" link on the top right of the page
    Here is the docs page which has more information about web application deployment -
    http://docs.sun.com/app/docs/doc/820-2202/gbrmp?a=view
    Hope this helps

  • QT Broadcasting through media server question

    Hey all,
    My question is this: does anyone know how (if its even possible) to use QT Broadcaster on MANUAL UNICAST to webcast to users connecting to a media server?
    for instance: G5 ---> media server <----user
    <----user
    <----user etc.
    I have been trying to set up the webcast as such: creating a manual unicast .sdp with the IP address of the media server contained within. upload the .sdp to the media server where the users will find it and connect to the stream.
    So far, all I get on the client side is a QT window that says, "Live Broadcast" and "ready".
    If the clients connect to the stream through the media server (which has its own static IP that matches the one in the .sdp) shouldn't they be able to view the webcast?
    Any and all thoughts are most appreciated.
    -=adam=-
    [email protected]

    Using Manual Unicast:
    Manual unicast is a method of broadcasting that requires you to export an SDP file from QuickTime Broadcaster to one receiving computer identified by its IP address. The receiving application can be a single QuickTime Player or QuickTime Streaming Server or Darwin Streaming Server. If the receiving application is QTSS or DSS, the broadcast is reflected and no longer limited to a single IP address.
    To broadcast via Manual Unicast:
    If necessary, click Show Details in the QuickTime Broadcaster window, and in the Network pane choose a preset.
    Choose Manual Unicast from the Transmission pop-up menu, and enter the IP address of the receiving computer (or accept the default IP address of your own computer if broadcasting to yourself as a test), the audio port and video port numbers (or accept the defaults if broadcasting one-to-one), and the buffer delay (or accept the default).
    If desired, also enter information in the Annotation section.
    Click Broadcast, and then choose Export from the File menu and SDP or Movie from the Export submenu.
    Specify a name for the SDP or movie file and click Export.
    If the file is exported directly to a QuickTime Player, the viewer opens the file using "Open Movie in New Player" to view the broadcast. If the file is exported to QTSS or DSS, the viewer instead uses "Open URL in New Player." Talk to your QTSS or DSS administrator to determine the correct URL.
    Viewing a QT broadcast:
    Your audience can view your live broadcast using either QuickTime Player or a web browser with the QuickTime Plugin. You determine how users will see the broadcast by distributing an announcement movie file, which is needed by QuickTime Player to "tune in" to your broadcast, or by creating a Web page that refers to the movie file.
    For best results, your viewers should use QuickTime 6. QuickTime Broadcaster streams can be viewed using versions as early as QuickTime 4, but some viewers may not be able to watch your broadcast if you choose compression methods that are not available in the older software.
    When viewers connect to your stream, progress messages appear about connecting, negotiating, and buffering, then the stream begins playing. Viewers can pause or stop the broadcast, but when they resume they'll jump to the current moment if they're watching a live broadcast.
    If viewers are watching an archived (or prerecorded) broadcast, they will be able to pause, rewind, or skip ahead using the QuickTime controls.
    Annotating your broadcast:
    You can add a title, copyright, and other annotations to your broadcast.
    If necessary, click the Show Details button in the QuickTime Broadcaster window. Then click the Network tab and fill in the desired fields under Annotations.
    Your audience can view this information by choosing Show Movie Info from the File menu in the QuickTime Player application.
    About Instant-On streaming:
    Viewers watching a streaming video with QuickTime 6 will benefit from Instant-On, an advance in Apple's patent-pending Skip Protection technology that dramatically reduces buffer, or wait, time for an instantaneous viewing experience. Viewers can click around or scrub video as if it was on their hard disk.
    Users must have a broadband connection to experience Instant-On. The responsiveness of Instant-On is affected by available bandwidth and size, or data rate, of the content. It can also be affected by the codec used. Hinted movies made using the QDesign Audio codec, for example, may not be Instant-On capable.
    Choosing a broadcast method:
    The size of your expected audience determines how you deliver the broadcast.
    For example, when broadcasting a live event to only one QuickTime Player, QuickTime Broadcaster can send a single stream using Mac OS X without server software.

  • ASP Delete File from server

    I have made a file sharing app, and the description and file
    name are stored in my access db, when i delete the recordset for
    the file i also want to delete the actual file. i am able to delete
    the file with the full path entered and the file name as a
    variable,
    with this code:
    <%
    Dim filepath
    filepath = Session("file_del")
    set filedel = CreateObject("Scripting.FileSystemObject")
    filedel.DeleteFile("C:\localhost\CallCenter\EMPLOYEE_FILES\"&
    filepath), True
    set filedel = nothing
    %>
    I put the name of the file in the file_del session variable
    on the page that deletes the recordset.
    But i would like to make it work on my hosted site without
    having to change the path to my sites, so i have made this code:
    <%
    Dim filepath
    filepath = Session("file_del")
    strPhysicalPath = Server.MapPath(filepath)
    set filedel = CreateObject("Scripting.FileSystemObject")
    filedel.DeleteFile strPhysicalPath , True 'Line that causes
    ERROR
    set filedel = nothing
    %>
    But the error comes File Not found.
    if i just display the strPhysicalPath variable on the page
    without the delete action it displays the proper path.
    how can i get the strPhysicalPath to be read, i have tried
    all of the ways i can think of
    filedel.DeleteFile strPhysicalPath , True
    filedel.DeleteFile & strPhysicalPath & , True
    filedel.DeleteFile (strPhysicalPath) , True
    filedel.DeleteFile ("" & strPhysicalPath & "") , True
    filedel.DeleteFile ( & strPhysicalPath) , True
    But none of them work ?
    Any help would be great

    After some rest and a closer examination, i realized the
    error was in the mappath line, it wasnt including the folder that
    held the files. strPhysicalPath = Server.MapPath(filepath) was
    wrong so, I added the folder name: strPhysicalPath =
    Server.MapPath("EMPLOYEE_FILES/" & filepath) then the file is
    deleted. so complete code is:
    <%
    Dim filepath, strPhysicalPath
    filepath = Session("file_del")
    strPhysicalPath = Server.MapPath("EMPLOYEE_FILES/" &
    filepath)
    set filedel = CreateObject("Scripting.FileSystemObject")
    filedel.DeleteFile (strPhysicalPath), True
    set filedel = nothing
    %>

  • Cannot refresh table - test connection works fine but refresh gives "We couldn't refresh the connection. Please go to existing connections and verify they connect to the file or server." error.

    I'm having some difficulty updating a table in my powerpivot data model. The data for the table is stored in a local excel file; if I go to
    Existing Connections select the connection and do a test then everything is successful. When however I try to refresh that particular table I get the following error:
    "We couldn’t refresh the connection. Please go to existing connections and verify they connect to the file or server."
    In the past I had this and it was an authentication issue, the files are stored on SharePoint and I wasn't logged in to Sharepoint - I have however checked this and it can't be the issue because I have other tables linked to other excel files in the same
    location that are refreshing without issue. Can anyone think of what may be causing it?
    I have even tried creating a new local excel with the same data, added it to the data model and then tried a refresh and I I get exactly the same issue. 
    Are there any known issues with refreshing data from an Excel file if, after the initial import, you add columns to the table in the excel file I was wondering if this might contribute?
    Thanks

    Hi Maracles,
    Thanks for your post.
    From your description, I tried to reproduce this issue on my test environment. However, everything is fine for me. Could you please post the specific version of SQL Server PowerPivot for Excel?
    You can try to use a trace file to troubleshoot errors in PowerPivot. If this issue still persists, please try to reinstall SQL Server PowerPivot for Excel to see if this helps.
    For more information, please see:
    PowerPivot Options & Diagnostics Dialog Box:
    http://technet.microsoft.com/en-us/library/gg399091.aspx
    Using a Trace File to Troubleshoot Errors in PowerPivot:
    http://www.sqlchick.com/entries/tag/powerpivot
    Best Regards,  
    Elvis Long
    TechNet Community Support

  • Upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy

    Hi All,
    upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy button.
    This is the issue which I am facing while working with SharePoint 2010. In a sharePoint 2010 document library I am having an excel file and I am trying to open it from Windows 7 and is office 2010.
    I cam e across few suggestion as mentined below but unable to find the location where to do
    Go to Resource Policies > Web >
    Rewriting > Custom Headers > (if 'Custom Headers' is not visible, click
    Customize on the right top to enable the view).
    Create a new policy with the Resource as <fully qualified domain name of the SharePoint server:*/*> (for example https://sharepoint.juniper.net:*/* ).
    Create the action as Allow Custom Headers.
    Apply the settings to the required roles.
    Please suggest.

    Hi rkarteek
    All things you have to do is as follows:
    1. Open regedit.exe
    2. Naviagate to following key:
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
    3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff"
    (without quotes)
    4. Click on "FSSHTTPOff" and enter value of 1
    5.
    Close any Office Applications and browser sessions
    6. Try to reopen your document (no more read only or failure to upload)
    have a nice day!

  • How to replace or remove last 500 bytes of a file without rewriting all the file?

    Hi everyone,
    Usually I only ask for help when I can't find a solution for several days or weeks... And guess what? That just happen!
    So, this is what i am trying to do:
    I have a program to ZIP folder and protect them with password, then it encrypts the zip file.
    That it's working fine, until the user forgets his password.
    So, what I want to do is give the user a Recovery Password option for each ZIP file created. I can't use the Windows Registry because the idea is to be able to recover the password in any computer.So i came up with an idea...
    In simple terms, this will work like this:
    0 - Choose folder to ZIP
    1 - Ask user for recover details (date of birth, email etc)
    2 - ZIP folder with password
    3 - Encrypt ZIP file
    4 - Encrypt recover details and convert it to HEX
    5 - Add recover details (in HEX) to the end of the ZIP file (last bytes)
    6 - Add "5265636F76657244657461696C73" which is the text "RecoverDetails" in HEX
    7 - Add "504B0506000000000000000000000000000000000000" this is the final bytes of a ZIP file and will make the Operating System think that is a ZIP file (i know that will give an error when we try to open it.. the ideia is to change the
    extension later and use my software to do all the work to access this ZIP/folder again)
    So, explaining what it's here, I want to say that I managed how to do all of this so far. The point number 6 will help us to determine where the recover details are in the file, or if they actually exist because user can choose not to use them.
    In order to unlock this ZIP and extract it's contents, I need to reverse what I've done. That means, that  need to read only the last 500 bytes (or less if the file is smaller) of the ZIP and remove those extra bytes I added so the program can check
    if the user is inputing a correct password, and if so decrypt contents and extract them.
    But, if the user insert a wrong password I need to re-add those bytes with the recover details again to the ZIP file.
    The second thing is, if the user forgets his password and asks to recover it, a form will be shown asking to insert the recover detail (date of birth, email etc), so we need to reed the last 500 bytes of the ZIP, find the bytes in number 6 and remove the
    bytes before number 6, remove bytes in number 6 and number 7, and we will have the recover details to match against the user details input.
    I have all done so far with the locking process. But i need help with the unlocking.
    I am not sure if it's possible, but this what i am looking for:
    Read last 500 bytes of a file, remove the bytes with recover details and save the file. Without reading the whole file, because if we have a 1GB file that will take a very long time. Also, i don't want to "waste" hard drive space creating a new
    clone file with 1GB and then delete the original.
    And then add them back "in case user fails the password" which should be exactly the same.
    This sounds a bit confusing I know, even to me, I am writing and trying to explain this the better I can.. Also my English is not the best..
    Here it goes some code to better understanding:
    'READ LAST 500 BYTES OF ZIP FILE TO CHECK IF IT CONTAINS RECOVER DETAILS
    Dim oFileStream As New FileStream(TextBox_ZIP_to_Protect.Text & ".zip", FileMode.Open, FileAccess.Read)
    Dim oBinaryReader As New BinaryReader(oFileStream)
    Dim lBytes As Long = oFileStream.Length
    oBinaryReader.BaseStream.Position = lBytes - 500
    Dim fileData As Byte() = oBinaryReader.ReadBytes(500)
    oBinaryReader.Close()
    oFileStream.Close()
    Dim txtTemp As New System.Text.StringBuilder()
    For Each myByte As Byte In fileData
    txtTemp.Append(myByte.ToString("X2"))
    Next
    Dim RecoveryDetailsPass_Holder = txtTemp.ToString()
    'Dim Temp_2 = txtTemp.ToString()
    'RichTextBox1.Text = txtTemp.ToString()
    If txtTemp.ToString.Contains("505245434F47414653") Then
    'we have password recovery details(the numbers mean RecoverDetails in HEX)
    'next we will get rid of everything before and after of string "cut_at"
    Dim mystr As String = RecoveryDetailsPass_Holder 'RichTextBox1.Text
    Dim cut_at As String = "505245434F47414653"
    Dim x As Integer = InStr(mystr, cut_at)
    ' Dim string_before As String = mystr.Substring(0, x - 1)
    Dim string_after As String = mystr.Substring(x + cut_at.Length - 1)
    RecoveryDetailsPass_Holder = RecoveryDetailsPass_Holder.Replace(string_after.ToString, "")
    RecoveryDetailsPass_Holder = RecoveryDetailsPass_Holder.Replace("505245434F47414653", "") ' this is RecoverDetails in HEX
    RecoveryDetailsPass_Holder = RecoveryDetailsPass_Holder.Replace("504B0506000000000000000000000000000000000000", "") ' this is the bytes of an empty zip file
    'AT THIS POINT WE HAVE ONLY THE RECOVER PASSWORD DETAILS (date of birth, email etc) IN THE VARIABLE "RecoveryDetailsPass_Holder"
    '////////////////////////////////////////////////////// TO DEBUG
    'MsgBox(string_after.ToString & "505245434F47414653")
    'InputBox("", "", string_after.ToString)
    '\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ TO DEBUG
    'Temp_2 = Temp_2.Replace(RecoveryDetailsPass_Holder.ToString, "")
    Now that we have the recover details, we need to remove them from ZIP in order to the software try to unzip it with the password provided by the user on the GUI.
    If the user needs to recover the password we have the details already in RecoveryDetailsPass_Holder variable and just need to match them against user input details.
    If the user fails, we need to put the RecoveryDetailsPass_Holder back on the file.
    Any question just ask, it's a bit trick to explain i think, but please ask.
    Anyone know how to do this?
    Many thanks in advanced.
    Nothing is impossible!
    @ Portugal
    Vote if it's helpfull :)

    @ ALL
    Thank you very much for you help. I know that if I'm "playing" with bytes you should assume that I know a lot of VB.net, but I don't know that much unfortunately. I am not a beginner but I am still very fresh and I probably do stuff that work but
    probably not in the best way...
    Anyway, I will explain the idea of this little software I'm making. Once I wanted to create a program to protect folders with password, and I came up with something to change folder permissions to lock access to them, and that actually worked fine and quickly.
    However, I managed how to "crack" the protection by going to folder properties, security tab and then give permissions back to my username. So that, to me, wasn't a safer system to protect folders, also I want the ability to use passwords. So I search
    and search online for a way to do it, and someone replied (to someone with the same question as me) that the best option would be to create a zip with all contents of the folder, with password and then change the extension from .zip to .whatever and register
    the new extension .whatever on the Windows Registry, so that file will have an icon and open with my software.
    So I did...The program zips everything, change the extension and I added the encryption to avoid people changing the extension to ZIP or trying to open with 7-Zip or similar and be able to see the protected files names in the .zip/.whatever
    Answering to all of you now:
    @Armi
    "System.IO.FileStream.SetLength"
    I know I tried that but I erased the code because it didn't work for some reason, I don't remember why sorry, was long time before I created this post.
    The last code I was trying to use was this:
    ' Set the stream position to the desired location of the stream.
    Dim fileStream As IO.FileStream = _
    New IO.FileStream(TextBox_ZIP_to_Protect.Text & ".zip", IO.FileMode.Append)
    Try
    ' Set the stream (OFFSET) position to the desired location of the stream.
    fileStream.Seek(210, IO.SeekOrigin.Current)
    Dim Bytes_do_ZE As Byte() = HexStringToByteArray(Temp_2.ToString)
    'Write Characters ASCII
    For Each Byte_Do_Zeca As Byte In Bytes_do_ZE
    fileStream.WriteByte(Byte_Do_Zeca)
    Next
    Finally
    fileStream.Close()
    End Try
    and we need this:
    Private Shared Function HexStringToByteArray(ByRef strInput As String) As Byte()
    Dim length As Integer
    Dim bOutput As Byte()
    Dim c(1) As Integer
    length = strInput.Length / 2
    ReDim bOutput(length - 1)
    For i As Integer = 0 To (length - 1)
    For j As Integer = 0 To 1
    c(j) = Asc(strInput.Chars(i * 2 + j))
    If ((c(j) >= Asc("0")) And (c(j) <= Asc("9"))) Then
    c(j) = c(j) - Asc("0")
    ElseIf ((c(j) >= Asc("A")) And (c(j) <= Asc("F"))) Then
    c(j) = c(j) - Asc("A") + &HA
    ElseIf ((c(j) >= Asc("a")) And (c(j) <= Asc("f"))) Then
    c(j) = c(j) - Asc("a") + &HA
    End If
    Next j
    bOutput(i) = (c(0) * &H10 + c(1))
    Next i
    Return (bOutput)
    End Function
    That code, as I understand, is to search for the OFFSET of the bytes in the file and start to write from there... That OFFSET should be the beginning of the 500 bytes read on the code before. I got the OFFSET position "210" reading the file with
    the HEX editor "HxD - Hexeditor v1.7.7.0" but using the OFFSET won't work because every file, password, recover details and so on, are different and so the file size, changing the OFFSET I
    think.
    @Reed Kimble
    Does that sound like something which might work for you?
    Thanks for your help. That might be some solution, however it seams a bit of the same problem where we need to read the bytes again to get the recover details. But, as I said in this post, because this is meant to password protect folders, do you think that
    will apply as well?
    @Crazypennie
    Thanks for your reply.
    All this appears really weak. The user has your application since he need it to open the file .... and the code in the application contain the code to read the file without knowing the password. Therefore anyone can read your code and retrieve the
    data without the password ... if he knows VB.
    The application can only open the file if the user didn't use a password to protect the file. Because the file is encrypted and needs to be unencrypted first.
    When the application tries to open/read the file, will need to decrypt it first and then check for a password and do the validation. Also the application is with the code masked/protected which i think it might not be easy for reverse engineering.
    - You need to use a web server and a symmetric key encryption
    This a good idea, besides I don't know how to implement it. However the idea is to be able to:
    1 - Protect a folder anywhere in any Windows computer (portable app)
    2 - Recover password details (security question) in any computer, online and offline
    And I think we need a computer always connected to the Internet to use that method, right?
    @ Mr. Monkeyboy
    Thank you very much for your effort.
    I just wanted to let you know that the zip method you are using is no longer supported.
    I didn't actually knew that. Thanks for letting me know.
    Do you require the compressed encrypted files to actually be Zip files or could they just be compressed files that have nothing to do with Zip?
    No, it doesn't need to be a .zip extension. I am actually using my own extension. It starts as a Zip but then I changed to my own extension which I have registered on the Windows Registry.
    @ ALL
    Thanks again to all for trying and spending time helping me.
    By the way, I might not be able to answer or try any code during the weekend... It's easter break and family is around. Have a nice easter everyone. :)
    Nothing is impossible! Imagination is the limit!

  • Download and upload of file to server dir (AL11)

    Hello,
    I have a custom program that is downloading files from application server directory (they are like templates) to user local pc. User is then modifying such files and finally upload them in another AS directory.
    The program is currently making use of FM's C13Z_FILE_DOWNLOAD_BINARY and  C13Z_FILE_UPLOAD_BINARY.
    There was no problem until hot packages have been implemented: now such FM's are returning an error saying:
    Internal program error; (YDOWNLOAD SAPLC13Z 0 C13Z_RAWDATA_WRITE)
    When in debug, it appears that the FM C13Z_RAWDATA_WRITE (called by the above mentioned FM's) is checking the calling program (sy-cprog) and if this latter is not within a list of standard programs (hardcoded), then the error is thrown.
    My question is: Is there another way to download and upload files without such error? Could you please share the code?
    Thanks a lot for help and suggestions!
    Best regards,
    JFlanders

    Hello,
    Please see note   1809258 - Internal program error; ( <program name> SAPLC13Z 0 C13Z_RAWDATA_READ )
    A possibile solution is to use cl_gui_frontend_services class methods like gui_download and gui_upload, for instance:
    TYPES: t_line(1) type x.
    DATA: i_tab TYPE STANDARD TABLE OF t_line,
        i_wa(1) type x.
    OPEN DATASET lv_file_appl FOR INPUT IN BINARY MODE.
    DO.
      CLEAR i_wa.
      READ DATASET lv_file_appl INTO i_wa.
      IF SY-SUBRC <> 0.
        EXIT.
      ELSE.
        APPEND i_wa TO i_tab.
      ENDIF.
    ENDDO.
    CLOSE DATASET lv_file_appl.
    DATA: lv_fn TYPE string.
    lv_fn = lv_file_name.
    CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
        filename                = lv_fn
        filetype                = 'BIN'
        append                  = ' '
      CHANGING
        data_tab                = i_tab
      EXCEPTIONS
        file_write_error        = 1
        no_batch                = 2
        gui_refuse_filetransfer = 3
        invalid_type            = 4
        no_authority            = 5
        unknown_error           = 6
        header_not_allowed      = 7
        separator_not_allowed   = 8
        filesize_not_allowed    = 9
        header_too_long         = 10
        dp_error_create         = 11
        dp_error_send           = 12
        dp_error_write          = 13
        unknown_dp_error        = 14
        access_denied           = 15
        dp_out_of_memory        = 16
        disk_full               = 17
        dp_timeout              = 18
        file_not_found          = 19
        dataprovider_exception  = 20
        control_flush_error     = 21
        OTHERS                  = 24.
    * old functioanlity
    *    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_BINARY'
    *      EXPORTING
    *        i_file_front_end       = lv_file_name
    *        i_file_appl            = lv_file_appl
    *        i_file_overwrite       = 'X'
    ** IMPORTING
    **    E_FLG_OPEN_ERROR          =  false
    **    E_OS_MESSAGE              =  lv_message
    *    EXCEPTIONS
    *      fe_file_open_error       = 1
    *      fe_file_exists           = 2
    *      fe_file_write_error      = 3
    *      ap_no_authority          = 4
    *      ap_file_open_error       = 5
    *      ap_file_empty            = 6
    *      OTHERS                   = 7
    This is for the download, similarly should be done for the upload.
    Hope this could help. Let me know if further details are needed.
    Thank you and bye,
    Flavio

  • Process multiple documents in zip file without using ccBPM in PI

    Hi,
    Is it possible for PI to handle multiple documents within a zipped source file without the use of ccBPM?
    For example, I have an incoming source zip file containing 0.pdf, a,xml, z.pdf respectively,  After having the sender communication channel uncompress the zip file, each pdf file should be pushed to a directory on a file server, and the xml file should go through a message mapping.
    Is this possible to process all of the files without the use of ccBPM?
    Regards,
    Jim

    Hi Michal,
    Thank you for your response.  The example I provided is just one potential case.  In general, the zip file will always contain 1 xml file and 0-n PDFs, Word docs, or other types of documents.  Also, the first file in the zip may not always be the xml file, which is what I was trying to portray by my example.  Since I am not sure how many non-xml files will be included, I did not know if I could handle all of them directly, without ccBPM.
    At this point, I am leaning towards using a script preprocessor to uncompress the zip, then for each file found, push the xml file to an NFS channel which will process/map the xml, and push every other file type to another NFS channel to copy these documents to a predetermined directory on a predetermined server.
    What are your thoughts on this approach?
    Thanks and Regards,
    Jim

  • Photoshop CS4 error since Mavericks when open file from Server: "file is empty"

    Since I upgraded to Mavericks I can't open files directly from a Server (smb://..), it says "file is empty". When I copy the PSD file to my local drive I can open it though. I tried already to remove the server and reconnect. I'm using the CS4. Any idea how to fix that?

    My solution from another thread:-
    Hello - I recently upgraded to Mavericks and have experienced a number of problems, one of which matches yours, and after some experimentation found a solution.
    Like you, whenever I tried to open a file held on the server in any Adobe software, I would get an error that the file is empty. However, if I copied the file to my desktop, it would open without issue. i then noticed that the server name, which has a space in it, had %20 instead of a space, which drew me to the conclusion that Mavericks was reading the server incorrectly. I ejected the mounted server icons, and then click 'Go', 'Connect to Server', and reconnected. The server reconnected (and this time that space was restored) and I could open all of my files without issue.
    Hope this helps

Maybe you are looking for

  • I need to go back one version to CC 2014 - the one before the October release

    ... and it looks like Adobe took it off the Previous Versions in the Cloud installer.   I've done months worth of work in CC 2014 on ongoing projects, and I can't go back to the CC version using the Cloud installer. Adobe, please put the previous ins

  • Multiple Cubes refresh in parallel

    Hi I have an analytical workspace where i have modelled a set of conformed dimensions and some dimensions specific to specific subject areas. There will be multiple cubes (Partitioned and some non partitioned) in this analytical workspace. Would like

  • Two sided print with Mac Mavericks 10.9.3

    I had everything reinstalled on my Mac. Since then, I can't make the two sides printing work. I have a HP Photosmart C7280. Duplexer is ticked. I choose print two sides on the window options to print. But then the printers doesn't do it. If I go to s

  • HT3702 Im getting this message when trying to purchase ( please contact iTunes support to complete this transaction )

    It not allowing me to add money to a game I'm playing and tell to contact iTunes which I don't know what to do and I called the support by phone but no use like I wasted my time talking to them and the told me to go to iTunes support and solve from t

  • Line disappears with big zoom

    Hello. I need to draw line in my plugin. I create stream from string (for example) "q 0 1 0 RG 0.12 w 0 878.742 m 0 1133.86 l S Q". Then i use AVPageViewDrawCosObj. In common cases everything is OK. But with big zoom (for 100cm x 100 cm page big zoom