File copy CL_GUI_FRONTEND_SERVICES-FILE_COPY and WS_FILE_COPY
Hello
I have an existing program which uses FM WS_FILE_COPY to copy file from presentation server to destination server.
This function modules return code is 1.
Need to investigate what is the reason for return code <> 0.
Have also tried the method CL_GUI_FRONTEND_SERVICES-FILE_COPY this returns 5 --> access denied...
Can anyone help me to find what the problem is ...
Thanks!!
Hi ,
That means you do not have the permission.
Please find the series of errors you will get by using CL_GUI_FRONTEND_SERVICES-FILE_COPY
No ERROR_NO_GUI Description
1 CNTL_ERROR Control error
2 ERROR_NO_GUI No GUI Available
3 WRONG_PARAMETER Incorrect parameter
4 DISK_FULL Disk full
5 ACCESS_DENIED Access Denied to Source or Destination File
6 FILE_NOT_FOUND Source File not Found
7 DESTINATION_EXISTS Destination Already Exists
8 UNKNOWN_ERROR Unknown Error
9 PATH_NOT_FOUND Path to Which You Want to Copy File(s) Does not Exist
10 DISK_WRITE_PROTECT Disk Is Write-Protected
11 DRIVE_NOT_READY Disk drive not ready
12 NOT_SUPPORTED_BY_GUI GUI does not support this
Regards,
Adil
Similar Messages
-
USB file copy very fast and not completed
Hello
when I try copy big files ( about 700 MB for example ) to USB device my copy speed is very fast ( about 55 MB/S ) and Copy the file is not completed. Any one can help me to solve this problem?Linux usually doesn't copy the files all at once. You can force it to flush all
remaining data by unmounting the USB device, which will take quite a long time
if you do it immediately after issuing the copy command.
I think there is a mounting option that forces all data transfer to be done
synchronously, in case you prefer that. -
Increasing the File Copy Throughput
How do I increase the file copy throughput (within and between the Azure VMs)?
I have read the article about increasing the number of ServicePointManager.DefaultConnectionLimit but couldn't find how/where I can make this change.
http://blogs.microsoft.co.il/applisec/2012/01/04/windows-azure-benchmarks-part-1-blobs-read-throughput/
Currently, when I make copy the file between the VMs or Drives within a VM, the transfer speed is only 10-20 MB/s and I think it should be much higher than this especially when I am copying between the drives in a VM.HI;
Please create a new VM from a different storage account in a different geographic location and cross check.
in case if the issue still persists we will need to further investigate it and you would have to open up a Technical Ticket with our Windows Azure Technical Support team.
Regards
Prasant Chhetri -
File copy through cl_gui_frontend_services= file_copy
Hi,
Can I use
call method cl_gui_frontend_services=>file_copy
exporting
source = filenam
destination = ifile2
overwrite = abap_true
exceptions
others = 13.
for copying file from local machine to folder which is created on server.
thanxs
Pratibha
Edited by: pratibhas on Jan 15, 2010 12:46 PMHi,
You will not be able to use CL_GUI_FRONTEND_SERVICES. U can use FILE_UPLOAD ui element to upload the data from local system to the internal table.
Rangananthan -
I am trying to copy text from a word document and paste it into my web builder and it says that firefox does not support copy/paste from clipboard. Went to your site and it tells me to open the user.j file in my profile. This file does not exist and I am not real sure how to create that file so I can paste the fix from your site into it.
I went to that link and added to firefox add on but it still does not work. I went to the add on option button for this but it told me that my MYSIWG widget was disabled. Does this have something to do with it not working and if so how do you enable it.
-
This is not a question. I believe I've found a new issue and the fix for it.
The situation:
A brand new iMac 27" running Yosemite 10.10.1
MacMini server running 10.8.5 server.
The issue:
Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
The issue is unique to this computer in an office of 10 client computers and three servers.
Attempted fixes:
Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
Repaired permissions on the client and the network share.
Definitive fix:
By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
I hope this helps someone else.
RobThat was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.
-
How can I copy programs (iWorks) and files from Time Capsule to my HD manually? The problem is that the migration assistant does not recognize my backup file and the user on the TC. (If I open the TC on finder, it it there though)
How can I copy programs (iWorks) and files from Time Capsule to my HD manually? The problem is that the migration assistant does not recognize my backup file and the user on the TC. (If I open the TC on finder, it it there though)
-
my mac will not copy more than one file at a time and gets locked up if the file is too large, my mac will not copy more than one file at a time and gets locked up if the file is too large
So now that you have repeated the same thing three times that doesn't make things any clearer at all.
You are copying files from where to where?
How are you attempting to copy files, software or click and drag?
Any other detail would be helpful.
Allan -
My personal Macbook pro died, but I did have a Time Machine backup. I have a new iMac that I would like to use as a family computer. I would like to transfer some files to the new computer (and set-up a new Time Machine backup), but archive the remainder on a non-TM drive. I was planning to:
1. File copy my last backup folder from my old TM drive to the new computer
2. Copy (and then delete) the files I want to archive on another HD drive
3. Wipe clean my current TM drive
4. Set-up TM on my new computer
Is this a good way to proceed?
Is copying the last backup folder (vs. all backup folders) enough to move my files over?
Any better approaches appreciated!I suggest you visit MicroCenter and go to there Apple section and ask one of there guys if they are still offering the 2 terabyte Backup For the iMac, Mine was only $100.00.
So the iMac has Time machine plus the USB 2 Terabyte Backup for less than your $130.00 -
Message: The operation can't be completed because an unexped error occurred (error code-50).
This appears when I'm copying a file to the drive and then I wasn't able to edit to my drive.
Then this morning I can't open my project file. I get this message: The project appears to be damaged, it cannot be opened.
What should I do!??
I have moved my project onto 2 different external hard-drives now.Hi There,
After looking around for this error, it seems to be related to OS, we would recommend you to contact Apple support for this.
Thanks,
Atul Saini -
I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other library in my spouses phone... but mine is still gone. I don't have them saved to my computer... the pictures are important and I really really need them back. Is there a way for me to get the pictures back from what I believed at the time was a smart way to backup when i made a duplicate of that main mac file to my google drive? The best way to let me know is my email... [email protected] I am really relying on you guys if there is a way?
Hi meghage,
From your code, it is a WebForm project.
This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
You can consider posting it in asp.net forum for supports . Thanks.
ASP.NET: http://forums.asp.net
Regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have most of what I need here, but I’m missing 2 important pieces.
#1) I want to copy/paste from all PDF files in a folder and paste the copied data into a single Word file.
It works fine if I have ONLY Word docs in my folder. When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in
the PDF, so I have no idea where that’s coming from.
#2) I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.
Here the code that I’m working with now.
Sub Foo()
Dim i As Long
Dim MyName As String, MyPath As String
Application.ScreenUpdating = False
Documents.Add
MyPath = "C:\Users\001\Desktop\Test\" ' <= change this as necessary
MyName = Dir$(MyPath & "*.*") ' not *.* if you just want doc files
On Error Resume Next
Do While MyName <> ""
If InStr(MyName, "~") = 0 Then
Selection.InsertFile _
FileName:="""" & MyPath & MyName & """", _
ConfirmConversions:=False, Link:=False, _
Attachment:=False
Dim Myshape As InlineShape
Dim IndexCount As Integer
IndexCount = 1
For Each Myshape In ActiveDocument.InlineShapes
If Myshape.AlternativeText = PDFname Then
ActiveDocument.InlineShapes(IndexCount).OLEFormat.Activate
End If
IndexCount = IndexCount + 1
Next
Selection.InsertBreak Type:=wdPageBreak
End If
On Error Resume Next
Debug.Print MyName
MyName = Dir ' gets the next doc file in the directory
Loop
End Sub
If this has to be done using 2 Macros, that’s fine.
If I can do it in 1, that’s great too.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.Hi ryguy72,
>>When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in the PDF, so I have no idea where that’s coming from.<<
Based on the code, you were insert the file via the code Selection.InsertFile. I am trying to reproduce this issue however failed. I suggest that you insert the PDF file manually to see whether this issue relative to the specific file. You can insert PDF
file via Insert->Text->Object->Text from file.
If this issue also could reproduced manually, I would suggest that you reopen a new thread in forum to narrow down whether this issue relative to the specific PDF file or Word application.
>> I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.<<
We can save the embedded spreadsheet via Excel object model. Here is an example that check the whether the inlineshape is an embedded workbook and save it to the disk for you reference:
If Application.ActiveDocument.InlineShapes(1).OLEFormat.ClassType = "Excel.Sheet.12" Then
Application.ActiveDocument.InlineShapes(1).OLEFormat.DoVerb xlPrimary
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.SaveAs "C:\workbook1.xlsx"
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.Close
End If
And since the Word object model doesn't provide API to save the embedded PDF, I would suggest that you get more effective response from PDF support forum to see whether it supports automation. If yes, we can export the PDF as embedded spreadsheet like code
absolve.
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Rescue and Recovery "File is in use and can't be copied" errors - T61 - WXP
Hi and thanks -
When Rescue and recovery backs up, I frequently get the error message, "This file is in use and can't be backed up. Close all programs and try again" [my paraphrase].
Here is everything I have tried:
Restarting Windows and backing up "clean" - I have also attempted doing a "Clean boot" by stopping all services in "msconfig". - still got many of the error messages.
Starting in Safe mode - Rescue and restore doesn't work at all
Starting up in "ThinkVantage" and doing a backup from there - Rescue and restore will restore from a previous copy, but will not back up.
This backup error has gone on ever since I bought this macine used in January 2011, and I have never cared much. But recently the machine had a "fatal error", and all of the backups were useless. I had to comletely restore the machine to factory settings, which means I had to re-load all of my data and programs - an arduous task. I do not want to meet this same fate again.
Can you help me?
Thanks!
Solved!
Go to Solution.Have you tried running a backup with your virus scanner / internet security software turned off? Sometimes these software can "hang" on files or folders with the intent to protect them and therefore prevent them being read
Before attempting the above please ensure your system has no Internet access
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog -
Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on Firefox on new iMac.
Firefox 2 versions use the file bookmarks.html to store the bookmarks.
See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
See also http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
With Mac OS X 10.4 you can use Firefox 3.5 or 3.6
* http://www.mozilla.com/firefox/all.html
* http://www.mozilla.com/firefox/all-older.html
*http://www.mozilla.com/en-US/firefox/system-requirements.html
*http://www.mozilla.com/firefox/system-requirements-v3.html -
I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?
How to know character's encoding is ASCII?
Maybe you are looking for
-
Using a StoredProcedure with OUT parameters in CrystalReports
Hi All, I am creating a report using CrystalReport Designer 2008.I have a StoredProcedure which takes 2 input parameters,2 output parameters and a cursor.I am not able to add this SP directly using the DatabaseExpert. if I use 'call SP1(input1,input2
-
HI, I have config the Customer statement by means of correnpondence & it working fine. But I need to send it through email maintained in customer master when i run f.27 mails should be send automatically. For doing this do we need to do any config re
-
Sharepoint online vs sharepoint on premise
Hello Everyone Can anybody quote the Technical difference between SharePoint online vs SharePoint (2013)on premise. Under which circumstances both should be opted for ? Regards Prashanth SharePoint Administrator
-
Imported image stretches on playback
I'm starting an edit using footage from a HVX200. Most of the footage was imported through P2CMS then FCPs log and transfer but 1 clip wouldn't come through P2CMS for some reason (still unknown). The trouble clip was brought in through log and transf
-
I am not surprised by how the forum has been going on lately, but to my frustration "Account Update" under "Forum Settings" has been broken for a few weeks now. What should one do to update some info in there?