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