file-transfer

Always download file again when open a file in NetBeans IDE 6.8

Hi. I'm using NetBeans IDE 6.8. When I open a file, NetBeans opens an old file from my computer, not the actual one from the web-server. The problem is when some one else has edited the file on the web-server I need to download the file before I open it, so I don't lose the new changes. What I want to do is that NetBeans always downloa...

Java Sockets - Files transfered simulatanously with other data over one connection

I have a multi-threaded server that handles client requests, and makes new threads for each one that is connected. This is working great and I am able to send "text" messages back and forth to the server without a problem. Like a chat system. Now I have in mind a way to be able to send files across these client connections to the server...

Atomic file copy under .NET

I am building a server app that copies files using System.IO.File.Copy(...) function. My files can be rather large, therefore, it has a fair chance that if the machine crashes, it happens during copying. After restarting the service, I should be able to pick up the copy tasks and continue. How can I detect if a copy has been successfull...

Cannot achieve full speed on Symmetrical Internet Connection

We are using a business Ethernet connection (3Mbit upload, 3Mbit download) and trying to understand issues with our tested bandwidth speeds. When uploading a large file we sustain 340 KB/s; downloading we sustain 340KB/s. However when we run these transfers simultaneously the two transfer speeds rise and fall erratically with a average...

C# copy image form PowerPoint to Word

I need a application to copy text and images form PowerPoint to Word. I use this libraries: Microsoft.Office.Interop.PowerPoint and Microsoft.Office.Interop.Word. The text s easy to transfer, but when I find in PowerPoint a shape containing only a image, it show this error: "A generic error occured GDI+", at this part of code: foreach ...

Access files on a file server via IIS

In an application we are developing, I have access to a database table which gives me the path to some files that are available on a file server. This file server is accessible from the machine on which IIS is running. Is there a mechanism I can use to (on demand) copy a given file from the file server to the web server and make the file...

Calculate total batch upload transfer percent with limited information

Hi there, I have a system which uploads to a server file by file and displays a progress bar on file upload progress, then underneath a second progress bar which I want to indicate percentage of batch complete across all files queued to upload. Information and algorithms I can work out are: Bytes Sent / Total Bytes To Send = First pro...

Are there any FTP programs which can automatically send the contents of a folder to a remote server?

Are there any FTP programs which can automatically copy (or rather 'move') the contents of a folder to a remote server? I have of course googled this but only really found one or two ancient products which look really clunky and unmaintained. I was wondering if there's a way to do this from the command line or any better solution to the...

Transfer file over ssh

Hi all, In ssh protocol, is there a mechanism for file transfer? Im working on a existing code base which already has ssh facilities code. Now i need to transfer files over ssh connection. If ssh protocol already support it, i don't have to integrate scp stuff into it. Thanks. Edit: Im using C, ssh code based on openssh. I have to tra...

Best Design pattern for social media file transfer

Our system would like our clients to link their accounts with different social media sites like youtube, vimeo, facebook, myspace and so on. One of the benefits we would like to give to the user is to transfer, update and delete files they have uploaded to our sites and transfer them to the social media sites mentioned above. this file...

Upload/download files securly, winforms c# and asp.net

From a winforms application, I need to upload & download files to an asp.net web server using http/https. only need to send/receive one file at a time cannot use ftp, must use http/https need progress bar upload & download must be username/password authenticated Is there an easy way to do this? ...

What's a good way to copy files from a PC to a Windows Mobile device?

I have a C# application running on a server, and it needs to copy files out to multiple Windows Mobile 5.0 devices. These devices are connected to the network directly via Ethernet-enabled cradles (so they are not connected to a PC via ActiveSync). What different options do I have for doing this? I know RAPI can do this, but I'm not s...

Transfer files using java

I need to transfer lots of small files to a remote computer within my java program. I was wondering if somebody could suggest the best way to do so... I need to transfer lots of small files and it has to be really fast. Should I use some existing protocol implementation? maybe ftp? One important thing is that most files would be the sam...

How to compare two file structures in PHP?

I have a function which gives me the complete file structure upto n-level, function getDirectory($path = '.', $ignore = '') { $dirTree = array (); $dirTreeTemp = array (); $ignore[] = '.'; $ignore[] = '..'; $dh = @opendir($path); while (false !== ($file = readdir($dh))) { if (!in_array($file, $ignore))...

Balanced File Distribution from server to client

To design a client-server code in LINUX where server will send the file equally to its entire client connected(all not at a time). Suppose 15 files are there, client1 makes a connection, server starts sending files to it. After 4 files a new connection comes the first client gets halted (not terminated) and client2 start getting the file...

How to copy Eclipse app with it's all projects and space from one Mac into another?

I have a new Mac computer at the office. And I need to copy Eclipse from my home Mac. I need to keep all the setting and plugins working fine, as on my home computer. Moreover, I need to have all the SVN setting and projects working too. So, can you suggest the best option how to do it clearly, to have the final result completely the sa...

How can I transfer a file via XMPP using Python?

I'm using xmpppy library for my jabber remote administration bot, but I can't find how to send/receive a file and save it inside the directory specified. The documentation is poor and there isn't any examples, but I really want to make it. Can anyone show some examples or some links about it? Or maybe I should use an alternative xmpp bin...

ASP.Net send and receive file question

I'm completely blanking here. I've got 2 servers that cannot talk to each other via normal network traffic (like just copying a file). I can't get FTP setup on either server due to artificial company security constraints. Server1 basically just has an exe on it that I have written, and it needs to send a file to Server2. Server2 has ...

When is it good to use FTP?

In my experience I see a lot of architecture diagrams which make extensive use of FTP as a medium for linking architectural components. As someone who doesn't make architectural decisions but tends to look at architecture diagrams could anyone explain what the value is of using FTP, where it's appropriate and when transferring data as f...

File transfer through SQL Server connection

I have a text file sitting on client machine and want to move it to the database server (MS SQL 2008) but I don't have any access to the server except through the SQL Server client. Can I transfer this file to the server using SQL client connection? ...