ftp

Upload FTP file to remote site from memory using C#

Am working on a project that requires uploading xml file to remote FTP site. Is it possible to save xml string from memory to remote FTP site? ... from what i see i have to first write the file to local disk then read from disk and FTP to remote site. I am using c#. Thank you. ...

upload file to FTP from Blackberry application

Hi, I am newbie to Blackberry application development. Can anyone have idea how to upload files to FTP from blackberry application? Any help would be appreciated. Thanks, Jim. ...

FTP URL username and paassword with special characters

It looks like standard Java URL class FTP client cannot work with username having characters such as "@" and ".". The username I get from my hosting provider is something like "[email protected]", so the whole URL looks like "ftp://[email protected]:[email protected]". It works perfectly with all ftp clients, but apparently not wi...

Problem realizing FTP-client with asynchronous socket in C#

(excuse me for my bad english)) I am writing a class for simple requests to FTP-server using .NET-class System.Net.Sockets.Socket.Synchronous functions (Socket.Connect, Socket.Send, Socket.Receive) works fine. But I need asynchronous operation to be able to interrupt the process from the outside. I used an example from MSDN: http://ms...

Setting FTP active/passive mode with Java URLConnection

Is it possible to set FTP passive or active mode when working with URLConnection class? I cannot find any documentation on this, yet this is such a basic functionality that it's hard to believe it is not implemented. If it's not, what other options do I have in standard Java? ...

Flex Crossdomain.xml file and FTP

How do I use crossdomain with ftp? I am trying to do a "hello world" level test of FTP in Flex, but for three days now, I cannot overcome the issue with how to coerce flex into accepting my crossdomain policy - even for testing purposes. Here is my code: The exact error text follows. <?xml version="1.0" encoding="utf-8"?> <mx:Applicat...

Apache Commons Net FTPClient retrievefile method issue with Sterling Commerce Connect

Hi All, We have been using apache commons net FTP classes to connect using a proxy to a Sterling commerce FTP gateway located outside our network to pull files. We do not list the files since we know the name of the file to be pulled so we pull it directly using the below method. boolean isTransferred = ftp.retrieveFile(remoteFileName...

I need to pull large backup files from my clients' servers to my server every month

I have clients out there running an SQL Server Express 2005 and each of these needs a backup each month and that backup needs to be moved to our server in case they lose their backup. Our software automatically backs up the database each month but we have to manually go in and copy it across. Is there any way to automate the copying of f...

Pipeling compression and ftp transfer

I am writing a utility that will zip a file (or set of files) using the LZMA sdk then send the file off to a ftp server. Usually the speed of the compression is faster than the speed of the ftp connection. What I would like to do is instead of compressing the file, waiting for it to finish, then starting the upload I would like to compre...

What's the best compression to use with uploading big catalog by FTP ?

If you are uploading something like Zend Framework using poor internet conneciton it may be problematic. I think the compression of the catalog is the best solution. But what compression system is the best for this task ? We are using PHP, of course. I have some ideas like PHP + exec + unrar and http://www.php.net/manual/en/refs.compre...

Serverside implementation of FTP in Java

Hi, I want to build an FTP server that has no actual files in the background. Rather I want the files uploaded to it being immediately processed by my backend. The file listing of the upload directories should contain those files that are not yet processed. Deletion or moving should not be possible. Also, on the download side I want to...

C# Getting a complete file list using ftpRequest is slow

I want to get the filename, file size and last modified time of each file on an FTP server, then populate a listView with it. It worked really well until I switched FTP host, and now it's really sluggish, despite the new host being just as fast in real FTP clients. Any apparent reason as to why? Also, is it really neccessary to send t...

PHP - Get the md5 of remote file?

Is it possible to get the md5 of a file on a remote server? If so how? ...

FTP/SFTP Server thats scriptable

Hi I am looking for a windows FTP/SFTP server software that I can administrate (partly) by scripting against it, or if it has a .NET or COM API but at the end of the day I need to execute scripts/tasks against it that adds accounts and such. I have considered building my own c# implementation but it seems unneccecary to do that by my se...

Archive/Compress Command FTP Through Terminal?

Hi. Is it possible to compress a folder and create a .zip on my server through a command in terminal via FTP? Is there a archive command? Thanks. ...

How to send arbitrary ftp commands in C#

I have implemented the ability to upload, download, delete, etc. using the FtpWebRequest class in C#. That is fairly straight forward. What I need to do now is support sending arbitrary ftp commands such as quote SITE LRECL=132 RECFM=FB or quote SYST Here's an example configuration straight from our app.config: <!-- The following...

IOError opening an existing file with Python

Running the following code: import os import datetime import ftplib currdate = datetime.datetime.now() formatdate = currdate.strftime("%m-%d-%Y %H%M") def log(): fqn = os.uname()[1] ext_ip = urllib2.urlopen('http://whatismyip.org').read() log = open ('/Users/admin/Documents/locatelog.txt','w') log.write(str("Asset: %s...

How to show download progress from FTP

Hey All.. I am downloading a file from an FTP site (Async) and need to update a progress bar. I have read MS documentation that states that this can be done is the WebClient class's GetWebRequest() is ovverriden so the 'UsePassive' property is set to 'false'. I have done this but 'DownloadProgressChanged' event argument ProgressPercenta...

Powershell ftp upload error 530 not logged in

Hi All, I am struggling to get a PowerShell script to work. I am very new to PowerShell so could be missing something stupid. $sourceuri = "ftp://ftp.mysite.com/myfolder/myfile.xml" $username = "user" $password = "password" # Create a FTPWebRequest object to handle the connection to the ftp server $ftprequest = [System.Net.FtpWebRequ...

How to validate user credential to unix ftp server

Hi, For our project we are using Solaris box. After our build completion we keep kits to one directory and let users to access it by FTP session. So we create user account on Solaris and share this info. to respective group of user. I want to change this part and implement it like, 1.- Let user to login to ftp server with its one of the...