ftp

Upload and Download files from and to mainframe in VB.net

How do I upload and download files from and to Mainframe dataset using VB.net I have all the FTP details to the mainframe dataset. ...

C# & ASP.NET - Anyone create a library to talk to EdgeCast CDN via FTP?

For one of my projects we utilize a Content Delivery Network (EdgeCast) and I was wondering if anyone knew of an existing (open source) library for C# that we could leverage? In a nutshell, I am investigating the ability to create directories, upload files, and allow some general maintenance (rename files, delete files) via our admin pa...

PHP ftp_put() - "Cannot STOR."

I try to upload a file through PHP's ftp_put function, like so: ftp_put($this->conn_id, $rempath, $locpath, $mode); However I get the error "Cannot STOR." Nothing more. The FTP-connection is OK since I can download files using the same settings and ftp_get(). The script should be OK as well since it works fine on my local setup but no...

FTPWebRequest Site values

Hi, How do you set Site values in FTPWebRequest in VB.net In Chilkat we set values like below Dim ftp As New Chilkat.Ftp2() Dim success As Boolean success = ftp.Site("lrecl=1000 recfm=fb cy pri=1 sec=1") ...

C# - Free FTP client library for C-sharp

Hi, Im wondering if anyone here can recommend a FTP library(class) for C#.. That is free. I've been looking around the net, but all the classes I've found are very poor written, and have very poor performance. I do not want to use classes like FtpWebRequest... Best Regards, Robin ...

When does FTP server accept passive data connection from client?

I'm working on a simple ftp server in c. I don't know when ftp server accepts passive data connection from client. To my understanding here is how passive ftp works: client sends "PASV" command to server server creates and binds a socket, and listens on a random port. server uses getsockname to get random port assemble passive reply me...

why is my program not uploading file on remote ftp server?

i coded this program to upload a file on server using ftpput api it is not working it runs but file is not delevered! here's the code: unit ftp3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,wininet; type TForm1 = class(TForm) Button1: TButton; procedure Bu...

Indy FTP TransferType

I'm using the IdFTP (Indy 10) component to download some files (zip and txt) from a remote location. Before getting each file I set the TransferType to binary. IdFTP.TransferType := ftBinary; IdFTP.Get(ASource, ADest, AOverwrite); I expect that both text and binary files can be downloaded using the binary mode. However it looks like t...

FTP downloading in .NET

Is there any built in functionality that enables downloading files from FTP in .NET? ...

setup an ftp server with mamp pro

I am currently using mamp pro on osx for local development and I want to mirror my mosso cloud setup as much as possible. has anyone setup an ftp server with their local installation of mamp pro using sites i.e. local.mydev.com through apache? hope everyone had a great holiday. ...

Stream FTP download to output

I am trying to stream/pipe a file to the user's browser through HTTP from FTP. That is, I am trying to print the contents of a file on an FTP server. This is what I have so far: public function echo_contents() { $file = fopen('php://output', 'w+'); if(!$file) { ...

Getting error while transfering PGP file through FTP : The underlying connection was closed: An unexpected error occurred on a receive.

I am trying to upload a PGP encrypted file through FTP. But I am getting an error message as follows: The underlying connection was closed: An unexpected error occurred on a receive. I am using the following code and getting the error at line: Stream ftpStream = response.GetResponse(); Is there any one who can help me out ASAP. Foll...

Recursively PUT files to a remote server using FTP

I'm currently in a situation where I have very limited access to a server, but need to upload and download a significant amount of files contained within a single directory structure. I don't have SSH access, so I can't use SCP - and rsync isn't an option either unfortunately. I'm currently using ncftpput, which is great but seems to b...

List only files and Last Modify Date of a FTP server with C#

I'm trying to parse the result of the Ftp.ListDirectoryDetails command, I want just the FileName and the last modification date Not Directories. The command returns this: "01-21-09 06:16PM rattandom" "01-21-09 08:01PM 9900 myfile.txt" Does somebody know the way to parse it? I was reading and if the se...

Difference between Socket.connect(Adreess,timeout) and FTPClient.setSoTimeOu

We are doing FTP connection through our applicaion which is a JAVA aplication. We have set timeout for connection using Socket.connect(Adreess,timeout) method before calling FTPClient.connect() method. During retriving files from the FTP site under same connection we havent set any timeout. Is it mandatory to call method FTPClient.setSo...

working on files which are on my server via eclipse?

I remember i could remotely open files that are on my server via notepad++, but i want to know how/if i can do that with eclipse so i can edit files on my computer and when i save it saves on that file directly on server. I am using Windows 7 and my server is CentOS(i think). Hmm? :) ...

Ruby Threads (Rake) for FTP

I have a rake task that uploads a list of files via ftp. Copying without threading works fine, but it would be faster if I could do multiple concurrent uploads. (I'm new to ruby and multithreading, so no surprise it didn't work right off the bat.) I have: files.each_slice(files.length / max_threads) do |file_set| threads << Thread....

Emacs FTP not working for certain sites in Ubuntu

This is really confusing me, because however much I search I don't seem to be able to come across this problem on Google. I'm trying to edit files on a web server using Emacs Ange-FTP on Ubuntu. I type in /[email protected]:/, Emacs then prompts for a password, which I give, and then it says: Listing /[email protected]:/... forever. ...

How to use .netrc when running MKS Toolkit on Windows?

I am moving an application from Unix (AIX) to Windows. We have MKS Toolkit on the Windows server in order to run our shell scripts fairly unchanged. However, my old FTP jobs depend on the .netrc file. Can anybody tell me whether .netrc is supported under MKS Toolkit, and if yes, where to put the file? ...

How do I put my PHP files on a Linux AMI on EC2 - dreamweaver / FTP / SSH ?

I have launched an EC2 linux instance (a rightscale CentOS v 5.2 i386 image) and want have followed a tutorial (http://www.ardentsoft.com/blog/2009/3/4/lamp-on-ec2-part-6-configuring-apache.html) for configuring PHP and Apache. Now I need to know how to get my PHP files from my dedicated server up to the cloud. I usually use dreamweaver ...