Copy File from Terminal Server to Workstation Failure
Hi
For years client have been able to copy files from our Windows 2003 Terminal Server to their local workstation using:
copy myfile \\tsclient\mydrive\myfolder
However we upgraded to Windows 2012 Server R2 and now Windows 7 Pro clients cannot copy files. The copy function creates the file name in their local folder but no content is sent after maybe 20 minutes or so the copy function times out and they get
an error message saying that the application was unable to write to the file. I have tried this function with my Windows 8.1 workstation and the file copies properly and it works fine for older Windows XP clients. Does anyone know why Windows 7
clients are experiencing this issue.
Thanks
Simon
Hi Simon,
The copy command should also work on the Windows 7 clients. Please provide the detailed error message when run the command on the Windows 7 clients.
You could also use robocopy command to achieve this.
Robocopy
https://technet.microsoft.com/en-us/library/cc733145.aspx?f=255&MSPPError=-2147217396
Best Regards,
Mandy
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Similar Messages
-
Unable to Copy File From Terminal Server to Client Share
Hi
For years client have been able to copy files from our Windows 2003 Terminal Server to their local workstation using:
copy myfile \\tsclient\mydrive\myfolder
However we upgraded to Windows 2012 Server R2 and now Windows 7 Pro clients cannot copy files. The copy function creates the file name in their local folder but no content is sent after maybe 20 minutes or so the copy function times out and they get an
error message saying that the application was unable to write to the file. I have tried this function with my Windows 8.1 workstation and the file copies properly and it works fine for older Windows XP clients. Does anyone know why Windows 7 clients
are experiencing this issue.
Thanks
SimonHi Simon,
Initially please use latest RDP version 8.1 for windows 7 and check result.
What’s the file size which you are copying?
Does this happens for all users and on all computers?
You can try below method might resolve your case.
1. Login to remote computer using Remote Desktop (RDP).
2. Open Task Manager in the remote machine
3. Click the "Process" tab
4. Locate a program called "rdpclip.exe"
5. Right click and select "End process" to kill this program
6. Click on "File" menu in the task manager and select "New Task (Run)"
7. Type rdpclip.exe and press the button to start the process.
By killing existing instance of the rdpclip.exe and restarting the program, you can get your copy paste work again in your remote desktop.
Hope it helps!
Thanks.
Dharmesh Solanki
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Copy file from FTP server to sap application server
Hi,
I am able to copy a particular file from FTP server to sap application server using FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT. But here my problem is, it copies into default application server path(DIR_HIOME). I want to copy into specified folder in the application server. How can I specify the required destination path.
Can you please suggest how to achieve this.
Thanks,
Shiva Kankanalatry something like this:
data: user(30) type c value 'ftpuser', "ftp username
pwd(30) type c value 'ftppass', "ftp password
host(64) type c value '255.255.255.255', "ftp server IP
cmd1(80) type c value 'lcd /dump', "location on app server where you want to copy the file
cmd2(80) type c value 'get', "specifies you are going to get the file from ftp server
dest like rfcdes-rfcdest value 'SAPFTPA',
file(15) type c value 'file.txt'. "specifies file that you want to get from ftp server
data: hdl type i,
key type i value 26101957,
slen type i.
slen = strlen( pwd ).
call function 'HTTP_SCRAMBLE'
EXPORTING
source = pwd
sourcelen = slen
key = key
IMPORTING
destination = pwd.
call function 'FTP_CONNECT'
EXPORTING
user = user
password = pwd
host = host
rfc_destination = dest
IMPORTING
handle = hdl.
call function 'FTP_COMMAND'
EXPORTING
handle = hdl
command = cmd1
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
loop at result.
write at / result-line.
endloop.
CONCATENATE cmd2 file INTO cmd2 SEPARATED BY SPACE.
call function 'FTP_COMMAND'
EXPORTING
handle = hdl
command = cmd2
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
loop at result.
write at / result-line.
endloop.
refresh result. -
Copy File from Presentation Server to Application Server in Background
Hi,
I need to copy Image file from Presentation Server to Application Server.
The below given code is workking fine in Foreground but whenevr I am trying to execute in Background, the job is cancelled and I am getting a dump.
data : wa_source type string,
wa_destination type string.
wa_source = 'C:\PARBIND.BMP'.
wa_destination = 'D:\PARBIND.BMP'.
start-of-selection.
call method cl_gui_frontend_services=>file_copy
exporting
source = wa_source
destination = wa_destination
* overwrite = SPACE
* EXCEPTIONS
* cntl_error = 1
* error_no_gui = 2
* wrong_parameter = 3
* disk_full = 4
* access_denied = 5
* file_not_found = 6
* destination_exists = 7
* unknown_error = 8
* path_not_found = 9
* disk_write_protect = 10
* drive_not_ready = 11
* not_supported_by_gui = 12
* others = 13
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
In backgound Error is....
Exception condition "CNTL_ERROR" raised.*
Any solution is appreciated.
Thanks
ArbindHi Arbind,
Just realize... when you run it in foreground, you have a foreground to capture the file location. so it runs fine..
but when you are running it in background, there is no foreground to check that is no gui present... how can it check where the C:\.... location is??
no need of reading any oss note... just see.. the name is cl_GUI_FRONTEND_service.. its only for front end..
u need open dataset, read dataset, close dataset kind of things while running in background. or RFCs to read the file... (search SDN). -
How to copy file from application server
Hello experts,
How to copy file from one folder of application server and paste it to other folder of application server(application server is same)?
Is there any function module exists???
thanks in advance
SaurabhHi you can use this function module to move a file from application server to another folder on application server.
call function 'WS_FILE_COPY'
exporting
destination = m_destination
source = m_source
importing
return = return.
Plus u can use this function module to delete the file from that folder from which u want to replace it.
call function 'WS_FILE_DELETE'
exporting
file = m_source
importing
return = return.
The above FM can help u copy a file from one folder to another and delete the file from that folder. -
Using scp to copy files from remote server to mac from a newbie
Hi am a new poster to this forum and getting (re)acquainted with the unix world using terminal on the Mac. I am part of webteam for a large website run by a nonprofit where I have administrative access. I hope that this forum is the correct venue for my question.
The other day I used terminal tsch to logg onto a remote server where I have admin privaleges. One of the other admins and I were in the process of experimenting with using either rsync or scp to "backup" the server. We are experimenting with different backup strategies over and above those supplied by our web host. After finding out how to open port 22 on my modem and setting services in sharing to allow for remote log on, I logged on to the remote server and ran this command (suggested by another admin):
scp -r -p -v /remotefolder [email protected]:/Users/drktyler/Documents/serverBU/
Unfortunately I had severely underestimated the amount of time it would take to perform scp and needed to terminate the scp job. For example, I only got 100 MB onto my Mac in one hour (normally takes about 6 mintues to download a 100 MB file from the internet) I tried to kill the job by doing:
ctrl -z
ls ps
kill (scp pid #)
This did not work. And I forgot about trying ctrl-c <blush>
I was able to exit my session on the remote server which "exited" the scp job.
Oh, before running scp, I did try rsync and it did not work. Unfortunately, I had not set my terminal session to an unlimited buffer size, so the early part of my session rolled off the terminal screen. This means I have no idea what the error was.
This morning the other admin was performing some backups on the remote server and noticed that there was a an unexplained directory on the remote server named:
mymacuserid
It had what he called some rpms. I am not exactly sure what a rpms cache files are, but I think that rpms has some relatationship to the RPM package manager used by many linux systems. I could not account for how the mymacuserid directory got on the remote server because I did not put it there and my log in id to the remote server bears no resemblance to my Mac user id.
We don't believe that this directory did any harm to the remote server, but I sure as heck would like to know how it got there.
My question is if there was something about my scp command that
(1) created this "temporary" mymacuserid directory on the remote server
(2) did the way I ended the scp job by exiting the terminal mean that this temporary directory was not "cleaned up."?
(3) what other options might have been available to me to kill the job and clean up after the job? ctrl-c while logged onto the remote server? opening up a second terminal window and killing the ssh job?
(4) is scp normally that slow?
My Mac: Mac Mini, 1.66 GHz Intel Core Duo, Memory: 1.5 GB 667 MHz DDR2 SDRAM, Mac OS 10.4.8
Remote server: CPU AuthenticAMD, AMD Athlon(TM) XP 2600+
Version psa v8.1.1_build81070716.12 os_CentOS 4.2
OS Linux 2.6.9-55.0.2.EL {CentOS is built from Red Hat Enterprise Linux}
Respectfully yours,
treehugger from njJ.V. Thanks so much for your very helpful response!
The other admin who was trying scp over the weekend also reported that the job ran very slowly, so I suspect the slow response time may be on the remote server end. I do appreciate knowing that you have gotten 80% of your advertised DSL speed with scp.
Thank-you for being so polite and gentle in your response. No I did not know that if the remote patname has white space in it, that I need to quote the whole path and escape any white space with preceding backslashes as you showed in your rsync example.
Finally, as for the rogue elements being left on the server, I figured out that these rogue elements were left on the server the day before I did the aborted scp job because I had to quit the terminal in the middle of an active rsync job while logged onto the remote terminal. When I went onto the server this morning, I checked the timestamps on the rogue files and the timestamps match up.
The other admin has finally succeeded in doing a full server back-up (in addition to the back-up using the back-up utility provided by our web host). So, for the moment we are in pretty good shape. Of course, I'm not sure that I could replicate what he did. <shrug>
Thanks again. I'm glad I posted on this forum as I have always learned a lot by reading the apple forums I suspect that I will be posting again.
T.H.
P.S. Please forgive me for not including copies of your original message in my reply. There is probably a setting that I need to change. -
Copy files from mounted server
I am new to ARD. I am used to using Timbuktu. In Timbuktu I can choose exchange files, and get a list that I can browse, including any attached drives and mounted volumes. I can navigate right to the file I want, and then copy it.
I cant seem to find a easy way to browse files in ARD. I can do a search for files, but even then I can seem to be able to just browse files from a mounted volume.
Is there any way to do this in ARD?Sorry, but there is no file browser in ARD (other than taking control of a system and browsing through it's own Finder). You have to search for a file, either with the File Search or, if the clients are running Mac OS X, a Spotlight search.
-
Copy file from one server to another
I have two intranet sites on two different servers. There is an image on the site1 which I would like to copy to site2. How do I do that ?
Here is my code.
<cfset image1Ext = Right(firstStoryImg, 3)>
where firstStoryImg evaluates to http://mycompany.com/site1/images/firstImage.gif
The following code is throwing "The cause of this exception was: java.io.FileNotFoundException:" error.
<cffile action="copy" source="#firstStoryImg#" destination="/folder/Images/image1.#image1Ext#" nameconflict="overwrite">What he said.
In addition:
<cfset image1Ext = Right(firstStoryImg, 3)>
What happens if someone uploads a (valid) .jpeg file? You'll land yourself with a .peg file, that's what. -
How to get file from FTP Server using File Control
Hi,
Any one did getting file from FTP Server?
Please let me know any one help me.
I would need to get file from FTP Server.
Thanks,
MadhuYes I have done that. But In FTP Server I cannt read file, because no previliges. Only I need to copy file from FTP Server to local server then only I can read that file.
I tried all options using FileConrol(getFiles(),read()).
getFiles() - It wont copy the file, it give information about file.
read() - I dont have previliges to read the file.
Please tell me any other procedure would be there for getting file from FTPServer.
Thanks,
Madhu -
"I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
I am currently using batch file for back up for domain servers with robocopy commands in batch file but one of the workstation is not in domain and has static ip , also it has username and password,
Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
please help, "
P DaveJRV,
I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
check below screen shot, after running suggested script, it has mapped drive ,
now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
P Dave
JRV,
I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
check below screen shot, after running suggested script, it has mapped drive ,
now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
P Dave
Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
P - Log off and log back on and the attached connection will be gone. It is temporary. Again - knowing the basics of WIndows would let you know this.
We have given you all of the answers that are possible. There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
If you do use a drive it can be just as easily deleted after you have finished the copy.
Again: "NET USE /?" will tell you all of the options.
Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you. This is not a MIcrosoft support forum or help desk. It is a forum for admiinistrative scripting and assumes
that those coming here are technically trained or experienced in the basics of Windows technology.
¯\_(ツ)_/¯ -
Copying files from one workstation to another only works in one direction
I could copy files from my workstation to another workstation but could not copy files from that workstation to my workstation. There are 2 Cisco switches between these workstations.
I found out that one switch had its workstation ports hard coded to 100Mbps but the uplink ports (on both switches) were set to auto (the uplinks were 1 Gbps ports). This caused the copy problem. Once the w/s ports were set to auto, the problem
went away. I'm just wondering if anyone else has had this problem but found that the solution was something different than what I found?
William FearnI don't think that is possible, to platform specific. You'll need to make the directories accessible without password protection, or use another way of copying the files, such as FTP. There are multiple FTP packages available for java, such as:
http://jakarta.apache.org/commons/net/
(of course that would require setting up some sort of FTP server) -
Need to copy .txt file from FTP server and downloaded on local server directory.
I need to figure out a way to copy .txt file from ftp server in local server directory using sql jobs.
Below links will help achieving it:
https://www.virtualobjectives.com.au/sqlserver/ftp_scripts.htm
http://www.mssqltips.com/sqlservertip/2884/sql-server-integration-services-ssis-ftp-task-for-data-exchange/ -
Can't copy file from SAP-directory to FTP server
Hello,
I can't copy files from the SAP server to the FTP server. The file is created with OPEN DATASET and CLOSE DATASET commands and is placed in the SAP-directory S:\usr\sap\DEV\DVEBMBGS00\work.
I can see and read the file with transaction al11, so I know it's there.
But the FTP command always gives the same error:
S:\usr\sap\DEV\DVEBMBGS00\work\[FILENAME] errno 22: invalid argument
I can connect to the FTP, but the put command keeps failing. Somehow, the file in the SAP directory can't be read, it seems, even when
Any ideas?
Thanks in advance.
DaveOk, I found out that I have to use SAPFTPA as RFC destination type, instead of SAPFTP, otherwise the folders can't be located.
But with SAPFTPA I can't seem to connect to the FTP server. I've tested the connection with sm59 and it works, but for the FTP it doesn't work. When I use SAPFTP as destination type, it still works.
What can I do?
Thanks. -
MAXDB copy log file from one server to the other server.
Hi All,
I want to copy a log file from one server to the other server , the database is Maxdb and i don't know how to do it. I want to do it through command prompt, (set of commands required) the front end tool which we are using is DBM ( database manager). Please help.
Regards
M.AHi,
Basically, the process is of log shipping. Transferring logs from DC to DR system.
For that, you can check HowTo - Standby DB log shipping - MaxDB - SCN Wiki
This is script based. I have not done it but the idea remains the same.
Regards,
Divyanshu -
Copy file from client PC to server in a web deployed application
I have developed one application using Oracle forms 6i, which is deployed on the web server.
I run this application from a client PC in Internet Explorer using internet.
I want to copy one file from the client PC to the web server.
I have done following things
- Created a shared folder on the server and given full rights to every one on this folder
- I use 'net use' command in my program to connect to this shared folder
- I use copy command to copy file from local client pc to server. This copy command I am executing using host command of my programming (PL/SQL: eg. host('copy abc.txt \\server\share\') )
But this does not work.
When I do the same thing in command window, it works.
(ie. Start-Run cmd to open command window and then type the above copy command)
Can you please tell me, how to copy a file from client PC to the sever in Web deployed application?
ThanksI downloaded D2KWUtil from the link suggested by you. It has very nice example demo form. But the documentation provided says following
Using D2KWUTIL in Web Deployed Applications
The use of this library is not supported with Web deployed applications.
In a web deployment scenario not all functions within D2KWUTIL will work. Any function that interacts with the User Interface (such as those in the WIN_API_DIALOG package) will fail.
Any interaction with the O/S by other functions will all be executed on the NT server and will act within, or return information pertinant to, the environment on that machine. For instance GET_COMPUTER_NAME will return the Server’s name, not the name of the computer that the Client browser is running on. Likewise COPY_FILE will copy files in the Forms Server not on the Client.
Functions such as those in WIN_API_BITOP will continue to work without change.
so this will not work in web deployed application.
Any other suggestion?
Thanks
Maybe you are looking for
-
Moving Itunes library to an external drive...how to?
I'd like to make room on my hard drive -- it's only 15GB. My Itunes and iphoto take up about 5gb by themselves. I'd like to move them to an external drive. I ain't the smartest cookie....is this easy to do?....moving the libraries that is?
-
Jmeter testing (schema failure at early hours)
two node rac windows 10.2.0.4 my question schema is failing at early 1 am which is shown below i just want to know what is the reason? is it - The daily reports kick off at 01:00? - Data loading (strange this would cause a problem at the same
-
Spam email about iTunes billing?
I received an email about an iTunes billing problem implying a 3rd party may be using my account. It seems a bit sketchy to me, is it spam? Has anyone else received anything similar?
-
MIDI System from Windows to iMAC
I have a player piano E-System midi program that was created to run on Windows but I want to play the program/system on my iMac. Will using Bootcamp and or Parallels allow me to do this? Are there any other possibilities. Thanks Tony
-
Can Coldfusion 9 and PHP 5.1 coexist on the same server?
I found a analytics tool that I want to use for my companies intranet, and it requires PHP 5.1 to be installed on the server. This server will also have CF 9 on it as well. Will PHP 5.1 interfere with the web site and applications on the server writt