Removing file transfer options from client GUI.
How do you remove all of the file transfer options from the client GUI (the button, the right-click menu option, etc.)?
You can add <argument>allow_attachments=false</argument> in /var/opt/SUNwbsvr7/https:<hostname>/webapps/<hostname>im/en/im.jnlp file
to disable file transfer options from the Client GUI.
Or else if your using AM with IM then you can disable by setting the proper policy for DefaultUser through amconsole.
Similar Messages
-
Creation of files on server from client
i want to create a file on server from client.
so i have to create the file using uri that resides on server, but i am not able to create file using that URI
i want to create in this location.
"http://localhost:8080/web/a.jsp"
so please give me the syntax for that.
thanks in advancei checked that url........but its talking ablut urlconnection and url......but i want to create file with uri....could u plz help me
thx & regds -
File Transfer b/w Client - Server using JSP
Hi,
I need to implement a file transfer between the client and the server using JSP / Beans. The files can be XML Documents, Images (.gif,.jpeg) or even MS Word documents.
The user has a set directory on his file system where the files are to be saved upon download and retrieved upon upload. This system is similar to a check-in check-out system.
How do I get a reference to the directory on the users file system and then either save the downloaded files there or retrieve the files that need to be uploaded.
Thanks
coffeejavaThe only way you can do this is by using an applet, a jsp page or servlet does not have access to the system that the browser is running on. Furthermore if you were planning on using the html file form object you cannot set a value for that programmatically. It's not allowed for security reasons.
-
Used the file transfer software from Apple to move music and photos to iMac. After several hours it was "successful" but I can't locate it on the iMac. Any ideas for the rookie?
The music should be in iTunes and your photos should be in iPhoto. What happens if you launch those applications?
Best of luck. -
File transfer option dissapears in Group Chat
Hi All,
When adding a 3rd person to a chat in J4W the file transfer option dissapears.
Is this by design?
I have tested in 9.1.3 and 9.1.4.
ThanksHi Ben,
File transfer in group chates is not currently supported in Jabber for Windows. It is a backlog item but has not been comitted to a specific release at this time.
Thanks.
Mark -
How do I remove the "Dock" option from the Apple Dropdown Menu
I work for a school district where I am continuosly having to go back into Mac labs and reverting the settings on the dock back to normal. Students are changing the size, position and content of the dock, as well as hiding the dock. These computers are used by students k-6 and the younger children are getting confused when they com in and they cannot find the dock or its not where it is supposed to be. I have been able to lock the sizing, position and content of the dock but am not finding a way to elimante the hiding of the dock. Preferably I would like to remove the "dock option from the Apple dropdown menu. Please help!!!!
This question was asked quite a while ago and the suggestion was to use Server Admin Tools, which I know nothing about. You'll have to look into that. If these Macs are running off a server, then this might work for you. I'm seeing that Server Admin Tools from Apple is still current.
https://discussions.apple.com/thread/287704?start=0&tstart=0 -
How to remove create placement option from action of HRMS people screen
Hi All,
Please can you suggest me the way to remove 'create placement' option from action field of UK Super HRMS manager responsibility or any responsibility .I have tried it by task flow approach.So kindly suggest different approach.
Regards
AkashThere is a system lookup_type HR_PTU_ACTION_TYPES which gets these values.
Not sure if you can disable it(unless you go by the Help - Diagnostics - Examine) -
How to remove Forward/Resubmit options from UWL workitems
Hi Folks,
I have a requirement to remove Forward/Resubmit options from UWL workitems of the Hover menu.
Can anyone let me know how to do it ?Hi Chaitanya,
If you want to remove forward and resubmit actions for all the UWL items, it should be simple.
Open the UWL iview and look for a property called "List of UWL actions to exclude".
In that property enter the values "followUp" and "forward" separated by a comma.
followUp - Resubmit
forward - Forward
This should remove the two actions for all the UWL items.
Here is a help link with more info:
[UWL Action to Exclude|http://help.sap.com/saphelp_nw04/helpdata/en/fd/8bf6d1b0484ec7ade4369792a22293/content.htm]
If you want to remove these options for selected UWL items only, refer to this forum:
[post|Exclude Actions from UWL using XML;
Thanks,
Shanti -
Cannot transfer file into DB from client with webutil
Transfering file from client to DB will fail if the file is at a network path(not be mapped) or path contains Chinese character. for instance:
\\server\temp\test.bmp
C:\(Chinese character)\test.bmp
But it can work fine with the file list below ( I map \\server\temp to T: ) :
C:\test.bmp
T:\test.bmp
Thanks for any reply!I've got a similar problem related to this issue. Using the Client_Get_File_Name function to return a UNC path name and file the value returned drops the first backslash so instead of:
\\server\directory\file.bmp
I get:
\server\directory\file.bmp
Similar to Sunny, we don't want users to have to copy files to their local drives in order to load them into the database. We use Client_Get_File_Name to identify the file the user wants to load and then we use Read_Image_File to load it. Its passing the incorrect value into Read_Image_File that is causing our problem.
Is there a workaround for this, can we stop Client_Get_File_Name from losing the first backslash?
Thanks
Richard -
How to achieve the maximum file transfer rate from PXI to local host?
I will have to copy a huge amount of data (as big as 50 GB) from a PXI-8106 unit on site to a laptop. Currently it would take several hours. It is critical to max out the data transfer rate.
The standard method we've been using is just drag and drop using Windows Explorer via FTP. I tried to use FTP VIs with Filezilla Server as well but the transfer rate is only like 1.5 MB/s. Is this normal? Once I saw it was 3.0 MB/s but for some reason, that isn't happening now.
For another option, I tried to transfer data to a USB flash drive but it's even slower. As far as I know, USB 2.0 transfer rate is supposed to be around 60 MB/s but why would it be slower than 1.5 MB/s? What could be the speed limiting factor in my file transfer setup?
Any tips on improving file transfer rate would be appreciated!Sustained 40 MB/s? That is my dream speed! The maximum speed I've ever seen here was about 25 MB/s, which is still very good, and that happened only after copying back and forth, which I explained above. Let me go through what I did with screencaps first.
These are the test tdms files to transfer in the PXI: an original file witten in the PXI and its copy file. I copied the original file from PXI to laptop and renamed it (added '_copy') and then copied it back to PXI.
FTP module is transferring the original file to the Filezilla server on laptop. Note the low speed.
FTP module is transferring the copy file to the Filezilla server on laptop. Note the higher speed.
This is the FTP sub VI I'm using. It transfers files in sub-folders (one level lower), too. The data connection is set to 'passive' on the FTP Put Multiple Files VI but it doesn't seem to make any difference. I attach the sub VI.
You tried the file transfer with a 500 MB text file. Would there be any difference if the file type was tdms? Would the RAM size matter? It is 2GB here.
And the LED is orange, which means Gigabit.
Another question: Is there any way to programmatically stop file transfer in progress? Currently, I just have to restart the PXI.
Thank you!
Attachments:
FTP.vi 40 KB -
Large file transfer problems over client/server socket
Hi,
I wrote a simple chat problem in which I can send files from client to client. The problem is when I send large files over 101 MB the transfer freezes. I do not even get any error mesages in the console. The files I am sending are of any type (Ex mp3, movies, etc...). I am serializing the data into a "byteArray[packetSize]" and sending the file packet by packet until the whole file has been sent, and reconstructed on the other side. The process works perfectly for files smaller than 101MB, but for some reason freezes after that if the file is larger. I have read many forums and there aren't too many solutions out there. I made sure to use the .reset() method to reset my ObjectOutputStream each time I write to it.
Here's my file sending code:
byte[] byteArray = new byte[defaultPacketSize];
numPacketsRequired = Math.ceil(fileSize / defaultPacketSize);
try {
int i = 0;
reader = new FileInputStream(filePath);
while (reader.available() > 0) {
if (reader.available() < defaultPacketSize) {
byte[] lastPacket = new byte[reader.available()];
reader.read(lastPacket);
try {
if (socket == null || output == null) {
throw new SocketException("socket does not exist");
output.writeObject(lastPacket);
output.reset();
output.writeObject("DONE");
output.reset();
output.close();
socket.close();
catch (Exception e) {
System.out.println("Exception ***: " + e);
output.close();
socket.close();
else {
reader.read(byteArray);
try {
if (socket == null || output == null) {
throw new SocketException("socket does not exist");
output.writeObject(byteArray);
output.reset();
catch (Exception e) {
System.out.println("Exception ***: " + e);
output.close();
socket.close();
reader.close();
catch (Exception e) {
System.out.println("COULD NOT READ PACKET");
Here's my file receiving code:
try {
// The message from the client
Object streamInput;
FileOutputStream writer;
byte[] packet;
while (true) {
streamInput = input.readObject();
if (streamInput instanceof byte[]) {
packet = (byte[]) streamInput;
try {
writer = new FileOutputStream(outputPath, true);
writer.write(packet); //Storing the bytes on file
writer.close();
catch (Exception e) {
System.out.println("Exception: " + e);
else if (streamInput.equals("DONE")) {
socket.close();
input.close();
break;
catch (Exception e) {
I'm looking for any way I can possibly send large files from client to client without having it freeze. Are there any better file transfer ways other than socket? I don't really want FTP. I think I want to keep it HTTP.
Any suggestions would be helpful.Thanks!
EvanI've taken a better look a the code you posted, and
there is one problem with the receiving code. You
keep repeatedly opening and closing the
FileOutputStream. This is not going to be efficient
as the file will keep needing to be positioned to its
end.Yes sorry I did change that code so that it leaves the file open until completely done writing. Basically I have a progress bar that records how far along in the writing process the client is, and when the progress bar reaches 100%, meaning the file is complete, the file.close() method is invoked. Sorry about that.
I also ran some memory tests using the "Runtime.getRuntime().totalMemory()", and "Runtime.getRuntime().freeMemory()" methods. I put these methods inside the loop where I read in the file and send it to the client. here's the output:
Sender's free memory: 704672
File reader read 51200 bytes of data.
767548 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 702968
File reader read 51200 bytes of data.
716348 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 701264
File reader read 51200 bytes of data.
665148 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 699560
File reader read 51200 bytes of data.
613948 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 697856
File reader read 51200 bytes of data.
562748 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 696152
File reader read 51200 bytes of data.
511548 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 694448
File reader read 51200 bytes of data.
460348 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 692744
File reader read 51200 bytes of data.
409148 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 691040
File reader read 51200 bytes of data.
357948 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 689336
File reader read 51200 bytes of data.
306748 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 687632
File reader read 51200 bytes of data.
255548 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 685928
File reader read 51200 bytes of data.
204348 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 684224
File reader read 51200 bytes of data.
153148 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 682520
File reader read 51200 bytes of data.
101948 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 680816
File reader read 51200 bytes of data.
50748 left to read.
Sender's runtime memory: 2818048
Sender's free memory: 679112
File reader read 50748 bytes of data.
0 left to read.
Creating last packet of size: 50748
Last packet size after setting it equal to byteArray: 50748
Here's the memory stats from the receiver:
Receiver's free memory: 639856
Receiver's total memory: 2842624
Receiver's free memory: 638920
Receiver's total memory: 2842624
Receiver's free memory: 637984
Receiver's total memory: 2842624
Receiver's free memory: 637048
Receiver's total memory: 2842624
Receiver's free memory: 636112
Receiver's total memory: 2842624
Receiver's free memory: 635176
Receiver's total memory: 2842624
Receiver's free memory: 634240
Receiver's total memory: 2842624
Receiver's free memory: 633304
Receiver's total memory: 2842624
Receiver's free memory: 632368
Receiver's total memory: 2842624
Receiver's free memory: 631432
Receiver's total memory: 2842624
Receiver's free memory: 630496
Receiver's total memory: 2842624
Receiver's free memory: 629560
Receiver's total memory: 2842624
Receiver's free memory: 628624
Receiver's total memory: 2842624
Receiver's free memory: 627688
Receiver's total memory: 2842624
Receiver's free memory: 626752
Receiver's total memory: 2842624
Receiver's free memory: 625816
Receiver's total memory: 2842624
Receiver's free memory: 624880
Receiver's total memory: 2842624
Receiver's free memory: 623944
Receiver's total memory: 2842624
Receiver's free memory: 623008
Receiver's total memory: 2842624
Receiver's free memory: 622072
Receiver's total memory: 2842624
Receiver's free memory: 621136
Receiver's total memory: 2842624
Receiver's free memory: 620200
Receiver's total memory: 2842624
Receiver's free memory: 619264
Receiver's total memory: 2842624
Receiver's free memory: 618328
Receiver's total memory: 2842624
Receiver's free memory: 617392
Receiver's total memory: 2842624
Receiver's free memory: 616456
Receiver's total memory: 2842624
Receiver's free memory: 615520
Receiver's total memory: 2842624
Receiver's free memory: 614584
this is just a sample of both receiver and sender's stats. Everything appears to be fine! Hope this message post isn't too long.
Thanks! -
Skype for web add file transfer option
First of all, this web based skype is pretty good. There is only on thing i seen to be missing and that is an option for file transfer/sharing. Keep up the good work on this guys and do not dare to dissapoint us again like when you removed the modern windows skype app
Hi,
Thanks for your feedback. We will continue to add more features during the regular updates through the beta phase. Stay tuned. -
File transfer option not available for remote devices under MAX
I am currently using LabVIEW 2012 and am using a application running on a Windows 7 PC to communicate (TCP/IP over Ethernet) with a RT PC. I have built an installer that installs a LabVIEW application as well as MAX on the Windows 7 PC. After installation i can open MAX and browse under Remote Systems to my RT device but am unable to ftp files to the the RT device as the File Transfer feature on the drop down menu is not shown. (This PC does not have the LabVIEW development environment installed.) Does anyone know if there are Additional Installers that are required to be included that will activate this feature or any reason why this feature in not available?
Regards,
RobDid you include the MAX FTP Client from the RT module in your installer? See this knowledgebase to see what I mean:
http://digital.ni.com/public.nsf/allkb/571113c2ce05998e862574e8006005a2?OpenDocument
Also, you can most likely just do ftp using windows explorer, if you prefer that method. Just open up windows explorer, and in the address bar type "ftp://x.x.x.x/" (where x.x.x.x is the IP address of the RT PC you are accessing.
Also, are you using the LabVIEW real-time module on your RT PC?
Colden -
How can i load file into database from client-side to server-side
i want to upload file from client-side to server-side, i use the following code to load blob into database.
if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
how can i solve it without upload the file to the server first, then load it into database??
try
ResultSet rset = null;
PreparedStatement pstmt =
conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
pstmt.setInt (1, docId);
pstmt.execute ();
// Open the destination blob:
pstmt.setInt (1, docId);
rset = pstmt.executeQuery (
"SELECT content FROM docs WHERE id = ? FOR UPDATE");
BLOB dest_lob = null;
if (rset.next()) {
dest_lob = ((OracleResultSet)rset).getBLOB (1);
// Declare a file handler for the input file
File binaryFile = new File (fileName);
FileInputStream istream = new FileInputStream (binaryFile);
// Create an OutputStram object to write the BLOB as a stream
OutputStream ostream = dest_lob.getBinaryOutputStream();
// Create a tempory buffer
byte[] buffer = new byte[1024];
int length = 0;
// Use the read() method to read the file to the byte
// array buffer, then use the write() method to write it to
// the BLOB.
while ((length = istream.read(buffer)) != -1)
ostream.write(buffer, 0, length);
pstmt.close();
// Close all streams and file handles:
istream.close();
ostream.flush();
ostream.close();
//dest_lob.close();
// Commit the transaction:
conn.commit();
conn.close();
} catch (SQLException e) {Hi,
Without some more details of the configuration, its difficult to know
what's happening here. For example, what do you mean by client side
and server side, and where are you running the upload Java application?
If you always run the application on the database server system, but can't
open the file on a different machine, then it sounds like a file protection
problem that isn't really connected with the database at all. That is to
say, if the new FileInputStream (binaryFile) statement fails, then its not
really a database problem, but a file protection issue. On the other hand,
I can't explain what's happening if you run the program on the same machine
as the document file (client machine), but you can't write the data to the
server, assuming the JDBC connection string is set correctly to connect to
the appropriate database server.
If you can provide some more information, we'll try to help.
Simon
null -
Removing Calculate tax option from F-47
Hello Sap Guru's,
We have a requirement to remove Calculate tax check box option from F-47 screen.Please note the we have already deactivated tax code field.Kindly let us know how it could be done.We even try to make transaction variant for this but it is not possible to create trans variant.
Kindly advise.
Regards,
ShikhaHi,
Yes it is possible to create transaction variant, & I have just tested & its working perfectly fine as per your requirement, with T.Code F-47. Please follow the following steps given in this thread:
Disabling tabs in SHD0
Regards
Javed
Maybe you are looking for
-
MailBox permissions Exchange 2010
Hi every one. I need help here. I did full permissions to one mailbox for some users. After some time they asked me to remove these permissions. I did it throght GUI Shell by removing all the users from full permissions. But they still have full acce
-
MSS Iview error -Could not connect to the R/3 System
Hello All, I've configured ESS BP in my Portal successfully and it's running perfectly fine. Now i've imported MSS also without any problems. Now the issue is when i'm launching the My Staff iViews it gives me a message "Could not connect to the R/3
-
I've been capturing video with my Canon XL1s into FCE for 4 years now with no problem. Just did it successfully last week. Today when I select the capture function I get the dialog box sating "Initializing Capture" forever. I have to force quit FCE t
-
Output power dbm and low speeds?
Hello, I have been an Infinity 2 user for just over 2 years now and have seen significant decrease in speeds. In April 2013 I was syncing max speed with IP profile of 77.4mbps DL and 20 mbps UL. About a year later speeds dropped to about 55mbps DL an
-
I have one "selectOneRadio" with two "selectItem" and an associated "ValueChangeEvent". This event is getting fired for only one radio button. How do I get selected button value?