ftpclient

Help Needed for parsing FTP files list in c#

Hi, I am using this code for getting list of all the files in directory here webRequestUrl = something.com/directory/ FtpWebRequest fwrr = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://" + webRequestUrl)); fwrr.Credentials = new NetworkCredential(username, password); fwrr.Method = WebRequestMethods.Ftp.ListDirectoryDetails; Strea...

How to create a directory with multiple levels in one call in Java using FTP

I am using the FTPClient library from Apache and cannot figure out a simple way to create a new directory that is more than one level deep. Am I missing something? Assuming the directory /tmp already exists on my remote host, the following command succeeds in creating /tmp/xxx String path = "/tmp/xxx"; FTPClient ftpc = new FTPClient...

Identical FTPClient code, one works one doesn't

I have an AIDL-accesible service that downloads files via FTP, and uses FTPClient to obtain the file stream. The service obtains the host path and the file path and FTPClient.getFileStream() returns a fileStream for some files I have tested that are around 1MB in size. However for large files, the getFileStream returns null, and THROWS a...