ftp

FTP in C# returning corrupted file, why?

I have this method to transfer files using a FTP Server: private void TransferNeededFiles(IEnumerable<string> filenames) { foreach (var filename in filenames) { var request = WebRequest.Create(new Uri(@"ftp://{0}/{1}".Fill(Config.ServerUri, filename))) as FtpWebRequest; if (request != null) { request.Creden...

Using <input type="file"> with a FTP value

Is it possible to get access to a file on my FTP doing the following? <input type="file" name="final" id="final" value="http://www.blah.com.au/artwork/&lt;?=$OrderID?&gt;/&lt;?=$ItemID?&gt;/Final/Final.pdf"&gt;; I know that this specifically didn't work for me, but is there a way to get the file from the FTP so I can send the informat...

How to check if the files exist on the FTP server ?

I have a ms-access application, now I need to check if that file had already uploaded before and then change the status of that record, is any tools or command we can use to check if the file exists? Or even some other appliaction I can use on windows and be able to update the records in the SQL server database. Environment: Ms-Access ...

can i find out when a webpage was last uploaded?

as the question asks, is there a way of finding when a page was uploaded/updated last. I've got a client who has an 'SEO' company and I've just been asked by client if i've changed the the ftp login details, i haven't but it could be the seo company, want to know if they've updated a page and uploaded it after i did.... thanks in advanc...

Any way to specify absolute paths in FTP URLs?

I'm using the Java URL and URLConnection classes to upload an file to a server using FTP. I don't need to do anything other than simply upload the file, so I'd like to avoid any external libraries and I'm wary of using the non-supported sun.net.ftp class. Is there any way to use absolute paths in the FTP connection string? I'd like to p...

Secure communications error. FTP

I'm trying to do a secure FTP file upload and keep getting errors. This is compounded by the fact that my target site is using a self signed certificate. I've tried ignoring any issues ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback((obj, certificate, chain, policyErrors) => { retur...

Deleting files via SFTP

Are there any C# open-source components that allow me to delete files via SFTP? ...

uploading to ftp from terminal

hi, I have a huge repository of files and there is a .txt containing a large list that needs to be uploaded to an ftp server. I don't have ssh access. Is there an easy way to automate this using terminal so I don't have to go into ftp and manually go up and down the folders? Thanks {EDIT} I am using os x. I have fetch as a client. ...

Downloading an entire folder from my server to iPhone

Is it possible to download an entire folder of files from my server to the user's iPhone rather than just one file at a time? Also, is the NSURLConnection class the way to go? Also, should I be using an HTTP path or an ftp path? (I've gotten the download of a single file to work with the HTTP, but don't know how to with the ftp or even...

continue FTP download afther reconnect

Is it possible to continue ftp download after reconnecting to ftp server? ...

Downloading text files with Python and ftplib.FTP from z/os

I'm trying to automate downloading of some text files from a z/os PDS, using Python and ftplib. Since the host files are EBCDIC, I can't simply use FTP.retrbinary(). FTP.retrlines(), when used with open(file,w).writelines as its callback, doesn't, of course, provide EOLs. So, for starters, I've come up with this piece of code which "...

Implementing a thread-safe FTP file fetching daemon on Windows

Hello everyone, I'm starting to implement a simple daemon that basically fetches a file from an FTP location with the help of a BackgroundWorker component to kind of guarantee sort of thread safety there. Although I sort of feel I'm heading towards the right direction, I'm not completely familiar with the technologies involved, therefore...

Version Control of FTP Directory

I'm a web developer and I often have to work with designers with whom I share clients. These designers usually are using Dreamweaver or just plain FTP to work on their portion of the project. Internally I use version control (SVN) for any project that does not require collaboration with other designers/companies. I would like to get to a...

FTP distribution script

I'm starting to write an (sophisticated) FTP distribution script, but I thought: this can't be! I'm reinventing the wheel! Reliably distributing files to remote servers under controlled conditions from a central location is as old of a task as computers are, damn it! Please someone prove me right. Google search on this subject is so br...

VSFTPD on windows and other issue.

I have to build an vsftpd compatible ftp client. I am not sure about which protocol vsftpd follows, sftp or ftps, I am guessing sftp as i could connect some vsftpd client with port 21(ftp) and 22(sftp) but not 990(ftps). Now I have to communicate with vsftpd compatible ftp server using C#.NET. Can somebody help me find out some good ope...

To use cURL FTP does both servers need the PHP cURL library installed?

I'm trying to wrap my brain about how to do this. We need to provide some files within a directory from our servers to our clients' servers via a PHP/Web interface using FTP. I've looked at the FTP capabilities built in to PHP and some custom classes, but someone suggested cURL might be a better option. We will have the FTP login credent...

Verify whether ftp is complete or not?

Hello, I got an application which is polling on a folder continuously. Once any file is ftp to the folder, the application has to move this file to some other folder for processing. Here, we don't have any option to verify whether ftp is complete or not. One command "lsof" is suggested in the technical forums. It got a file descriptio...

How to rename a file in ftp server using java

Hi , I wanted know How to rename a file in ftp server using java. I am using java.net.URL to connect to the server Thanks ...

How do I recursively ftp only certain file types from a linux server using the command line?

I want to download only .htm or .html files from my server. I'm trying to use ncftpget and even wget but only with limited success. with ncftpget I can download the whole tree structure no problem but can't seem to specify which files I want, it's either all or nothing. If I specify the file type like this, it only looks in the top fo...

Compile C++ over FTP

Hello! I would like to know if I can use g++ to compile C++ source files stored on an FTP server? Can this be done? Thanks NOTE: The FTP server is within the local network ...