ftp

how to use winsock to create an ftp for file transfer?

it is my third question for ftp file transfer between to machine where one machine has a shared folder and i have to access that folder from my machine using ansi-c or can use a third party lib for this purpose, as winsock i am doing this on windows platform the libs should be ansi-c complied that is a requirement.. i am stuck here ...

using libcurl to check if a file exists on a SFTP site

I'm using C++ with libcurl to do SFTP/FTPS transfers. Before uploading a file, I need to check if the file exists without actually downloading it. If the file doesn't exist, I run into the following problems: //set up curlhandle for the public/private keys and whatever else first. curl_easy_setopt(CurlHandle, CURLOPT_URL, "sftp://user@...

Why doesn't SSIS ftp task receive file?

I'm running an FTP task inside of SSIS to receive a file and the task executes successfully yet no file is returned to the local folder that I specified. Where did the file go? How can I make the FTP task download a file to the location that I need it at? ...

Use of bit-torrent for large file download as an alternative to FTP

The company I work for procures large volumes of data and does this by subscribing to FTP locations. I was wondering if it is possible to download the same using a tracker, the major challenge is authentication of the users IMO. Most ftp servers we subscribe to have a restriction of the number of ftp connection attempts. Does any one her...

How to Open a Remote Text File using Server.MapPath in ASP.Net?

This is what I have right now for a file residing on the same server and it works. Dim FILENAME as String = Server.MapPath("Output.txt") Dim objStreamWriter as StreamWriter objStreamWriter = File.CreateText(FILENAME) dr = myCommand.ExecuteReader() While dr.Read() objStreamWriter.WriteLine("{0}|{1}|{2:yyyy-MM-dd}|{3:yyyy-MM-dd}", dr(0...

What causes: Error -135: socket write error

I am trying to upload a 12MB .wav file on a Mac running Transmit to a Linux box running Apache and get the following error after uploading just 160KB of the file: error-135-socket-write-error Any clues why I may be getting this? I have successfully uploaded much larger files in the past and nothing has changed on the configuration. ...

php - ftp_get - Warning: ftp_get(): Opening BINARY mode data connection ...

I'm trying to write a script that will download files from an FTP server. They're all fairly large (nearly 2GB each). The script starts running, but then eventually terminates with the above error. Is it size related? Is there a way around this? Here's the code: <?php $ftp_server = "ftp.EXAMPLE.com"; $conn_id = ftp_connect ($ftp_s...

Publishing to live website

Hey there, My friend and I are collaborating on a ASP.NET powered website. To develop it locally, we use Visual Web Developer Express (good enough for our needs). Subversion (using Tortoise SVN) is our source control of choice with the repository residing on Unfuddle.com. We run into problems when we need to update the live site - sinc...

Possible to repair garbled Chinese filenames?

I'm downloading via FTP some files with chinese names (BIG5 encoded), and Filezilla displays those filenames as garbage (as FTP cannot handle any encoding other than ASCII and UTF-8, as least the standard compliant ones). Given a filename with garbled characters, is it possible for me to repair the encoding and get a proper filename St...

shell script pattern matching?

I think I've written maybe one shell script my entire life, and I'm not even sure if it's possible to do this, but I'm trying to write a script that will ftp the contents of a directory, one at a time. That is, it'll ftp one and then close the connection, then ftp the second, and close that etc. This is because there may be up to five ...

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...

Wordpress transfer to new ftp. Help, Home link doesn't work?

Hi I've transfered my wordpress site to a new ftp server, but my home link doesn't work properly. When I click on it, it goes to http://123.456.78.8/mydomain.com and I get a page not found message. I've discovered it needs a / at the end to work. Does anyone know a way to fix this before I put it on my live site? Could it be a database ...

Raw FTP SSL with C#

Hi, I'm trying to understand how SSL works. In my wish to make a small FTP client which supports SSL I've run into some problems: TcpClient FtpConnection = new TcpClient(FtpServer, FtpPort); NetworkStream FtpStream = FtpConnection.GetStream(); StreamReader FtpReader = new StreamReader(FtpStream); FtpWriter = new StreamWriter(IrcStream)...

Uploading file to multiple servers ?

I'm creating an image uploader which will give the user an option to upload file to a different server than which the script is hosted on. Is making an FTP connection from the script server to the target uploading server the only way to do this ? Correct me if im wrong, but would the path of the file look like this ? User computer (fi...

Use of FTP "append" command

I want to upload a file to a ftp server programmatically (C++). If the connection is lost while uploading a file, I wouldn't want to upload the file from scratch, but to upload only the part that I haven't sent. Does the APPE command fulfill my demand? What list of FTP commands should I use exactly? And how? ...

Is there anything in the FTP protocol like the HTTP Range header?

Suppose I want to transfer just a portion of a file over FTP - is it possible using a standard FTP protocol? In HTTP I could use a Range header in the request to specify the data range of the remote resource. If it's a 1mb file, I could ask for the bytes from 600k to 700k. Is there anything like that in FTP? I am reading the FTP RFC...

Netbeans has Realy Bad FTP support , Forces me to download all Files even before I can continue

Hello Friends , have started using Netbeans recently after using Aptana, phpdesigner and Notepad++ . I love Netbeans for it's speed and it has almost everything I want except for the fact that the FTP support is really Bad. To start working on a FTP server , I have to download all the files to my localhost first which is such a waste of ...

What sense does asynchronous IO make if the thread is blocked anyway (see example)

Hello, I found an example for async ftp upload on msdn which does the following (snippet): // Asynchronously get the stream for the file contents. request.BeginGetRequestStream( new AsyncCallback (EndGetStreamCallback), state ); // Block the current thread until all operations ar...

Is there a way to send a file over bluetooth using j2me and ftp protocol from a mobile to a pc.

I am making a j2me application to send an image (taken from a camera) to a PC for further processing. Can I send it over bluetooth using ftp to the pc ? ...

Multithreaded FTP upload. Is it possible?

I need to upload multiple files from directory to the server via FTP and SFTP. I've solved this task for SFTP with python, paramiko and threading. But I have problem with doing it for FTP. I tried to use ftplib for python, but it seems that it doesn't support threading and I upload all files one by one, which is very slow. I'm wonderin...