file-transfer

Java socket programming header

Hi, I am trying to send a file through a java socket and receive it through another. However, this happens: Send Content: /* This is simply a file to transfer */ Received: so basically I cannot escape the received content on stack overflow. It is basically a bunch of unreadable bytes (about 32 bytes worth) and then the message I sen...

Check to see if file transfer is complete

We have a daily job that processes files delivered from an external source. The process usually runs fine without any issues but every once in a while we have an issue of attempting to process a file that is not completely transferred. The external source SCPs these files from a UNIX server to our Windows server. From there we try to pr...

Ajax for binary data with jQuery?

I have a response which may return text/html or application/octet-stream. If I receive html, I'd like to replace part of the page with the returned response data, and if I receive binary data (a file download), I would like to display a message and send the data to the browser so that the user can download the file. Is there any way to d...

What is effective on time of transfering files between two Memories?

I think the number of files is so effective in time of transfering files for example : Transfering 1000 items that have 1GB size need more time than transfering 1 file with same size. ...

Bluetooth txt file byte increases?

Hi everyone, i am able to xfer files from 1 mobile device to another. When the sender sends this text file of 8 bytes, the receiver end will become a 256bytes txt file and when i open the contents of the txt file, there are my infos plus alot of square boxes. Here is my code from the sender: string fileName = @"SendTest.txt"...

Determining idle network transfer bandwidth

I'm building an application that will move around some potentially large files, but I want to do it without disturbing the user's network connection by flooding it. I know that Windows BITS has this kind of functionality, and that's essentially what I'm looking to replicate (as far as the throttling goes). I know BITS has other functiona...

CPU spiking in Win2003 server with High NDM activity

We have a Win2003 server, where we receive files through NDM and at any time, we would be receiving 6 files from different sources. The CPU on this server is always > 95%, which causes all the componenets to slow down and the server is hung once in every 2 days. We have the latest McAfee running on the server. Any suggestions. ...

TCP Socket file transfer

Hello, I'm trying to write a secure transfer file program using Python and AES and i've got a problem i don't totally understand. I send my file by parsing it with 1024 bytes chunks and sending them over but the server side who receive the data crashes ( I use AES CBC therefore my data length must be a multiple of 16 bytes ) and the e...

File Distribution via SMTP: How to do the receiving side?

Hi, I need to setup a file distribution system between different sites of a WAN. Files that are dropped into some input directories on the source machine should be distributed into a directory on each of the target machines at other sites. One of the requirements is that between certain sites the only allowed traffic is SMTP. There is a...

Sending file over OBEX push profile

I've been able to open a raw bluetooth socket to the obex push profile channel of a device. My goal is to be able to send files over the protocol. Where can I find any info how the headers should be set up and how the communication should work? Thanks. ...

File transfer with odd requirements : fault tolerant but non-duplicating.

I need to come up with a solution for complicated file transfer. I can do this, but I want to know if anybody knows of an open source solution that already does 90% of what I want to do. The requirements are very odd. Don't try to understand them, they are a hellish mixture of politics, territory, and bureaucracy. I control two serve...

C# web application file transfer

Dear All, I have a web application in asp.net and C# that must access a remote server to copy some files. The web application basically deploys other web applications. Let us say that the web app runs on a "developement" server and needs to interact with a "production" server. From the user's point of view they are both remote machine...

Copying files to NAS - only one folder slow transfer speed.

Hi guys I know this forum wasn't intended for this kind of issues, but I thought that with all this masterminds online, I could get lucky to get an answer here... :-) I've just got a Synology box, and I'm very happy about it. Last night I transfered all my backup, to a folder called "backup". It's about 20-30 GB. At some time, during ...

how to checksum a file transfer with java servlet and HttpURLConnection

Hi! I'm trying to guarantee a file transfer. I guess that I could do it with some kind of checksum. Also, because of some inner issues, I need to do it with streaming. I thought of calculating a digest before and after the transfer but the error would appear only at the end of the transfer. I'm searching for some kind of chunked checks...

Security issues in a file transfer program?

Hi, i want to know which are the main security issues that i must remember when i develop a file transfer program. ...

Best way / Fasters way to transfer an image via webservice

Hi, what is the best way to transfer an 800*600 image via a webservice using C#? I am looking for a fast method. thanks ...

Faulty-connection Proof File Transfer Protocol?

I frequently do website development live over an FTP connection. That is to say, I use a code editor with a built in FTP window and push/pull files to work on them, upload the changes, etc. This is mostly because it's unreasonable to try to create a local development server, and I use too many computers for that to be practical anyway wi...

file transfer programm between linux machines using serial port -rs 232

/* program for PC1*/ #include<stdio.h> #include<termios.h> #include<fcntl.h> #include<unistd.h> #include<errno.h> #include<string.h> #include<stdlib.h> /************************ port open() *****************************************/ int port_open(void) { int port_fd; port_fd=open("/dev/ttyS0",O_RDWR|O_NONBLOCK|O_NOCTTY); // print...

send file via webservice

hi there how can i send a file via web service in my site same as gmail attachments in c# and asp.net ...

USB file transfer on iOS

I want to write an app that stores its data in a file that can be retrieved and transfered to the user's PC. Does the iOS support file transfers over USB (through my app or through a mass storage device type feature). Preferably, I do not want to write a client for the PC to receive the files, and I want to prompt the user about new file...