Is it faster to download files from a remote server or file sharing with Back To My Mac?
I am trying to send somebody a 6GB file using Back To My Mac. I had them set up my Apple ID in iCloud in System Preferences on their Mac and check the box for Back to My Mac. Went into Sharing preferences to check the boxes for File Sharing and Screen Sharing.
From my Mac I then went to that shared computer in the Finder, copied over my file but it's showing that it will take 27hrs to transfer.
Is this normal? And if so would setting up a server for remote access be better for transferring such large files?
Any other mind blowing ideas would be most welcome for remote large file tranfer.
Jazz
Message was edited by: ShadowRa
Message was edited by: ShadowRa
Download history usually will have the link back to the original source location. Assuming that still exists, it's worth a try. When you right-click (Ctrl+click) an item, the small context menu should let you copy the URL of the original source, which you then can paste into the address bar to fetch it again. If the original download required you to be logged in to the source site, you should log in again first to increase your odds of getting the download.
Similar Messages
-
Trying to write an applet that reads/displays a file from a remote server
Hey all,
I'm trying to make a little applet that launches from a browser that allows me to read a file from a server, reads it line by line and displays each line, and continues to read/monitor the file until I get a specific line of text.
I've tried to do some code and although I can read the file (and display it), I can't seem to detect the end string (the if statement that tests if the line == "--END--" seems to have no effect, i.e. constant false).
I have a feeling the approach I took is wrong since this seems insecure and just looks bad (I've seen stuff that seems to indicate I need to do something with implements Runnable or something.) Even if anyone doesn't have the time to actually do the framework of this, if they could perhaps outline an approach and any necessary topics I need to look at (such as
1. Go and read the threads tutorial.
2. Go and read the X section in the Y tutorial.
3. Check out this <link>, as they seem to be doing something similar to what you're doing.
Thanks in advance.
import java.util.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.net.*;
public class FaxTest extends JApplet {
JTextArea area;
JScrollPane pane;
String display;
String old_display;
String tmp;
boolean end = false;
java.util.Timer FileTimer = new java.util.Timer();
TimerTask FileReadTask = new readFile();
public void init() {
area = new JTextArea();
area.setWrapStyleWord(true);
area.setLineWrap(true);
area.setEditable(false);
pane = new JScrollPane(area);
Container c = getContentPane();
c.add(pane);
FileTimer.schedule(FileReadTask, 500,5000);
public void stop()
FileTimer.stop();
class readFile extends TimerTask {
public void run() {
java.util.Timer timer = new java.util.Timer();
TimerTask task = new FaxUpdate();
timer.schedule(task, 1000,1000);
try {
display = "";
String filename = getParameter("FILENAME");
URL url = new URL(filename);
InputStreamReader in = new InputStreamReader(url.openStream());
BufferedReader br = new BufferedReader(in);
while( (tmp = br.readLine()) != null) {
if (tmp == "--END--\n") end = true;
display += tmp;
catch(IOException error) {
display = "Error" + error;
class FaxUpdate extends TimerTask {
public void run() {
if(end == true) {
area.setText("finito");
else area.setText(display);
}use tmp.equals("--END--\n") instead of tmp == "--END--\n"
The == means does tmp reference the same object as "--END--\n" which will probably never be true. Using the equals method means does tmp contains the same characters as "--END--\n" -
Media Error when fast forwarding downloaded videos from Video Store
I can't fast forward videos I have purchased and downloaded from the Video Store. I get the error message "Media error please try again." When I click OK the video closes. This is very frustrating since the video player does not recognize and remember where you left off when you restart it. For a 2 hour movie, I have to watch the whole thing again. Is this a known issue or is there some issue with my PlayBook? I have a 32 gig Playbook, brand new with OS 2.1.
Any help would be appreciated.This happens to me when a video is not properly downloaded. In effect, the file is not complete even though the download appears to have been successful and the file information shows that the full length is there. I check downloaded videos first by dragging the video slider button left to right and observing if the video moves forward. If the image freezes at a certain point, I know the video is incomplete. If I release the video slider button at that point, the player gives an error and closes. The only solution then is to get a complete downloaded file.
The only other easy check to see if you in fact have the entire video is to check the file size. If it is much less than the advertised size of file from the store, then the file definitely did not download completely.
PlayBook 64GB and 32 GB -
How to download a file from a custom server location?
Hello experts,
I have the following scenario:
A BAPI creates an .exe file and stores it in a custom folder in the server where the portal (and my WD application) is running. This happens once a day.
What I need to do is create a link or button (doesn't matter) so that users can click on it and download this file.
I already checked the file upload - download tutorial (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f;jsessionid=%28J2EE3417500%29ID0774236150DB11016171821629714331End?overridelayout=true) however this one considers the file to be downloaded is stored in the src folder of the project, thus it doesn't really help me.
How can I achieve this? Any suggestions and help will be greatly appreciated.
Thanks!hi Alain,
Use File API to read data from the file. It will return byte array from the file. Set Byte array to the file resouce context attribute.
bind this attribute to the filedownload UI element.
Since you need to read file from the same server where webdynpro application is running, You can give the folder path on the server where the file is located.
try {
File inputFile =
new File("C:\\Test\\Test.txt");
FileInputStream in = new FileInputStream(inputFile);
byte b[] = new byte[ inputFile.length()];
in.read(b);
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace(); -
Downloading data from internal table to xls file leading zeros are not disp
Hai abap gurus,
when i am downloading data from internal table to excle file. some field values in a column are with leading zeros and some others dont have leading zeros.but in the output it is showing without leading zeros. then how to get with exact values.
Ex:
<b>ECC Code.</b>
045234
88567
098456
but output is giving like this:
45234
88567
98456
how to get the actual values.....
plz help me in this matter.Dear Kiran,
Those field in the internal table having Leading Zeroes, make those fields' datatype as character.
Then use the function module to download the content of the internal table to the excel file.
Regards,
Abir
Don't forget to Reward Points * -
If I download a .mov file from gmail, I am not able to open the file. I reinstalled QuickTime 7.6.6, still unable to open the file. If I download the same file from another mail server I have no trouble. What is gmail doing to my file?
Also i have reinstalled the reader9 two times and tried with reader8 also but in both the cases same problem.
it would be gr8 help if someone can help. -
NEF files from Nikon d800 not visible in bridge and photoshop cs6- using mac ver.10.8.5. downloaded plugin from site 8.3 but issue unresolved
You can install and use Camera Raw 8.8 with OSX 10.8 Go to Help > Updates in Photoshop CS6
-
I accidentally deleated my download file from the dock,how do I get it back?
I accidentally deleated my download file from the dock, how do I get it back?
Go to your Home folder, locate the Downloads folder. Select the folder with the mouse and drag the icon into the right side of the Dock. Voila!
-
Hi, since installing mountain lion on my macbook, it wont download pdf files from internet sites, the same problem does not exist on my mac mini, i am using firefox on both macs, please help!
Back up all data.
Quit Safari. In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
/Library/Internet Plug-ins
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
How do I copy my files from my host server acct to my (new) hard drive?
I recently purchased a new
laptop after a crash. I was able to install DW (CS3)
and my files are all intact. But I need to put the files on my hard drive so that I can edit them offline. As it is, everytime I open DW, I'm connected to the host. Previously, I could connect when I was ready to post. So, the question is: how do I transfer my images and html web pages to my hard drive. Once that is done, I should be able to work offline, right, from my computer. Thanks.Define a Local Site folder in DW. This is where your site files will be stored locally.
Open DW, hit GET (Down Arrow) to download files and folders from your remote server.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
The system cannot download information from the SQLSERVER server.
Hi All,
After BPC 7.0 SP6 for MS install we get the following when trying to access the "Manage Application Sets" or any other admin console task, when we try to execute the connection wizard:
The system cannot download information from the SQLSERVER server.
There may be a network or security issue.
Error Message:Error code: 500
any ideas?
Br
StevenSteven,
Could you also make sure that the problem is not on the client side.
Is this a fresh installtion on the client machine? Or was there already an previous version of BPC on this machine?
If this is not a fresh install, you can try to uninstall the software and then deleting all the files in the folder
"program files\BPC". I've seen that sometimes not all the files are automatically deleted.
Then installing the Bpc client agian...
Kind regards,
Sam -
File from the Application server
Hi gurus,
I am working on a scenario where I need to get a file from the application server and for this I need to ask user to enter the location and that too at the selection screen and then I need to read this location using open data set and read data set in my program , once I am done with this I need to do some other validations. so can you please help me out how to achieve this.
Thanks
Rajeev GuptaHi
Declare the selection screen with file as parameter so that the user enter the application server file..
the use the OPEND DATASET as mentioned in below code and process
Refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB * &----
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Regards
Anji -
Upload tab-delimited file from the application server to an internal table
Hello SAPients.
I'm using OPEN DATASET..., READ DATASET..., CLOSE DATASET to upload a file from the application server (SunOS). I'm working with SAP 4.6C. I'm trying to upload a tab-delimited file to an internal table but when I try load it the fields are not correctly separated, in fact, they are all misplaced and the table shows '#' where supposedly there was a tab.
I tried to SPLIT the line using as separator a variable with reference to CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB but for some reason that class doesn't exist in my system.
Do you know what I'm doing wrong? or Do you know a better method to upload a tab-delimited file into an internal table?
Thank you in advance for your help.Try:
REPORT ztest MESSAGE-ID 00.
PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
DATA: BEGIN OF data_tab OCCURS 0,
data(4096),
END OF data_tab.
DATA: BEGIN OF vendor_file_x OCCURS 0.
* LFA1 Data
DATA: mandt LIKE bgr00-mandt,
lifnr LIKE blf00-lifnr,
anred LIKE blfa1-anred,
bahns LIKE blfa1-bahns,
bbbnr LIKE blfa1-bbbnr,
bbsnr LIKE blfa1-bbsnr,
begru LIKE blfa1-begru,
brsch LIKE blfa1-brsch,
bubkz LIKE blfa1-bubkz,
datlt LIKE blfa1-datlt,
dtams LIKE blfa1-dtams,
dtaws LIKE blfa1-dtaws,
erdat LIKE lfa1-erdat,
ernam LIKE lfa1-ernam,
esrnr LIKE blfa1-esrnr,
konzs LIKE blfa1-konzs,
ktokk LIKE lfa1-ktokk,
kunnr LIKE blfa1-kunnr,
land1 LIKE blfa1-land1,
lnrza LIKE blfa1-lnrza,
loevm LIKE blfa1-loevm,
name1 LIKE blfa1-name1,
name2 LIKE blfa1-name2,
name3 LIKE blfa1-name3,
name4 LIKE blfa1-name4,
ort01 LIKE blfa1-ort01,
ort02 LIKE blfa1-ort02,
pfach LIKE blfa1-pfach,
pstl2 LIKE blfa1-pstl2,
pstlz LIKE blfa1-pstlz,
regio LIKE blfa1-regio,
sortl LIKE blfa1-sortl,
sperr LIKE blfa1-sperr,
sperm LIKE blfa1-sperm,
spras LIKE blfa1-spras,
stcd1 LIKE blfa1-stcd1,
stcd2 LIKE blfa1-stcd2,
stkza LIKE blfa1-stkza,
stkzu LIKE blfa1-stkzu,
stras LIKE blfa1-stras,
telbx LIKE blfa1-telbx,
telf1 LIKE blfa1-telf1,
telf2 LIKE blfa1-telf2,
telfx LIKE blfa1-telfx,
teltx LIKE blfa1-teltx,
telx1 LIKE blfa1-telx1,
xcpdk LIKE lfa1-xcpdk,
xzemp LIKE blfa1-xzemp,
vbund LIKE blfa1-vbund,
fiskn LIKE blfa1-fiskn,
stceg LIKE blfa1-stceg,
stkzn LIKE blfa1-stkzn,
sperq LIKE blfa1-sperq,
adrnr LIKE lfa1-adrnr,
mcod1 LIKE lfa1-mcod1,
mcod2 LIKE lfa1-mcod2,
mcod3 LIKE lfa1-mcod3,
gbort LIKE blfa1-gbort,
gbdat LIKE blfa1-gbdat,
sexkz LIKE blfa1-sexkz,
kraus LIKE blfa1-kraus,
revdb LIKE blfa1-revdb,
qssys LIKE blfa1-qssys,
ktock LIKE blfa1-ktock,
pfort LIKE blfa1-pfort,
werks LIKE blfa1-werks,
ltsna LIKE blfa1-ltsna,
werkr LIKE blfa1-werkr,
plkal LIKE lfa1-plkal,
duefl LIKE lfa1-duefl,
txjcd LIKE blfa1-txjcd,
sperz LIKE lfa1-sperz,
scacd LIKE blfa1-scacd,
sfrgr LIKE blfa1-sfrgr,
lzone LIKE blfa1-lzone,
xlfza LIKE lfa1-xlfza,
dlgrp LIKE blfa1-dlgrp,
fityp LIKE blfa1-fityp,
stcdt LIKE blfa1-stcdt,
regss LIKE blfa1-regss,
actss LIKE blfa1-actss,
stcd3 LIKE blfa1-stcd3,
stcd4 LIKE blfa1-stcd4,
ipisp LIKE blfa1-ipisp,
taxbs LIKE blfa1-taxbs,
profs LIKE blfa1-profs,
stgdl LIKE blfa1-stgdl,
emnfr LIKE blfa1-emnfr,
lfurl LIKE blfa1-lfurl,
j_1kfrepre LIKE blfa1-j_1kfrepre,
j_1kftbus LIKE blfa1-j_1kftbus,
j_1kftind LIKE blfa1-j_1kftind,
confs LIKE lfa1-confs,
updat LIKE lfa1-updat,
uptim LIKE lfa1-uptim,
nodel LIKE blfa1-nodel.
DATA: END OF vendor_file_x.
FIELD-SYMBOLS: <field>,
<field_1>.
DATA: delim TYPE x VALUE '09'.
DATA: fld_chk(4096),
last_char,
quote_1 TYPE i,
quote_2 TYPE i,
fld_lth TYPE i,
columns TYPE i,
field_end TYPE i,
outp_rec TYPE i,
extras(3) TYPE c VALUE '.,"',
mixed_no(14) TYPE c VALUE '1234567890-.,"'.
OPEN DATASET p_file FOR INPUT.
DO.
READ DATASET p_file INTO data_tab-data.
IF sy-subrc = 0.
APPEND data_tab.
ELSE.
EXIT.
ENDIF.
ENDDO.
* count columns in output structure
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
columns = sy-index.
ENDDO.
* Assign elements of input file to internal table
CLEAR vendor_file_x.
IF columns > 0.
LOOP AT data_tab.
DO columns TIMES.
ASSIGN space TO <field>.
ASSIGN space TO <field_1>.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
SEARCH data_tab-data FOR delim.
IF sy-fdpos > 0.
field_end = sy-fdpos + 1.
ASSIGN data_tab-data(sy-fdpos) TO <field_1>.
* Check that numeric fields don't contain any embedded " or ,
IF <field_1> CO mixed_no AND
<field_1> CA extras.
TRANSLATE <field_1> USING '" , '.
CONDENSE <field_1> NO-GAPS.
ENDIF.
* If first and last characters are '"', remove both.
fld_chk = <field_1>.
IF NOT fld_chk IS INITIAL.
fld_lth = strlen( fld_chk ) - 1.
MOVE fld_chk+fld_lth(1) TO last_char.
IF fld_chk(1) = '"' AND
last_char = '"'.
MOVE space TO fld_chk+fld_lth(1).
SHIFT fld_chk.
MOVE fld_chk TO <field_1>.
ENDIF. " for if fld_chk(1)=" & last_char="
ENDIF. " for if not fld_chk is initial
* Replace "" with "
DO.
IF fld_chk CS '""'.
quote_1 = sy-fdpos.
quote_2 = sy-fdpos + 1.
MOVE fld_chk+quote_2 TO fld_chk+quote_1.
ELSE.
MOVE fld_chk TO <field_1>.
EXIT.
ENDIF.
ENDDO.
<field> = <field_1>.
ELSE.
field_end = 1.
ENDIF.
SHIFT data_tab-data LEFT BY field_end PLACES.
ENDDO.
APPEND vendor_file_x.
CLEAR vendor_file_x.
ENDLOOP.
ENDIF.
CLEAR data_tab.
REFRESH data_tab.
FREE data_tab.
Rob -
Open Data Set Error while trying to read file from non SAP server
Hi all,
is it possible to read data from non-SAP application Sever?
I'm using OPEN DATASET p_filin FOR INPUT IN LEGACY TEXT MODE CODE PAGE '1504',
Where p_filin is other Windows server.Our applicition server is under Unix.Is it a problem?
I make test to read file from SAP application server and it was ok.So how to call other server?
Thanks!Hi,
Yes it is possible to read data from a non SAP server through the statement OPEN DATASET.
The important thing to check is that the SAP Server got enough access to the non SAP server so it can perform a reading/writing process depending on your needs.
You should contact your network administrator and BASIS to help you check the permissions. This can be pretty tricky, specially if the servers are in different domains.
Regards,
Gilberto Li -
To read flat file from a unix server
We need to read a flat file from a Unix server, where our Database is located.
The location gets created correctly.
But while we are trying to import files from the location in Design Center , we get an error that "directory does not exists", although the directory has all the permissions.
Can someone please suggest how should we create the location so as it can read the files.
Please Reply ASAP......We have started Design Center on a local machine(Windows Machine) with uaer as repository owner of the server,
In the design center we can not sample the file till we import it,
can you please tell how to sampe the file without importing it.
Also a location pointing to server location gets easily created on the design center and the file module points to that location only, but when we try to import the file through that location, it says directory does not exists, although oracle user has all the read write permissions on the directory......
Please help!
Maybe you are looking for
-
i have updated my 4s iphone to ios 6.1.3 and have trouble connecting it to wi fi . i tried to back up it on itunes and then restore it but now i have left with a phone that still doesnt connect to wi fi and lost all my data. anyone knows how to fix
-
File to SOAP (Synchronous) with certificates Encryption and Descryption
Hi, Can anybody advice me how can I develop the scenario file to SOAP (Synchronous Process) with certificates encryption and descryption. Thanks, Naidu.
-
Java EE 5 request.getRequestURL() change
Hello, I have a problem with change of the method HttpServletRequest.getRequestURL() in my action servlets. I have this situation: URL matches http://server/app/page-key-word-string These URLs generates 404 Tomcat error page, which redirects to redir
-
Sun VDI3: wrong keyboard layout (US instead of de_CH) after power-up
Hi all, I have a strange problem: Despite trying this trick here .... : http://blogs.sun.com/ThinkThin/entry/using_sun_rays_with_non and despite editing the "/tftpboot/SunCoronaP8.parms" file and setting the "kbcountry=28" parameter I always get the
-
Schedule a program to run after a substituition exit is triggered??
Hello developer gurus, We need to run a report to correct some consistency in settlement document table. The requirement is we need to run this after a substituition exit is triggered and finished updating a settlement rule in a WBS. Woule you please