ftp

Downloading all files from an FTP Server

I need to download everything from an FTP server to hosting on a different server. I have shell access only to the server I'm downloading the files to. How, using the Linux FTP comnand, can I download every file, creating the directories needed for them in the process? ...

FTP proxy server component based on synapse or ICS - Delphi

Hello there, Does anybody know of some sample codes or a component of ftp proxy (server) based on Synapse or ICS for Delphi? ...

FTP client to zip before upload and unzip on the server after upload

I am always working with some big websites that is annoying to upload given the number of small files. I use Filezilla but am happy to buy some commercial solution if there is one out there that can zip the files before upload and then unzip it after upload. Its a pain to have to manually do that all the time. If someone know of any ft...

Good practices for a robust FTP script

What are the things a script should do to ensure that files have been FTPed correctly? Following are the things I have in mind: 1) use high level scripting language like python or perl instead of shell script for a more comprehensive functionality and error handling 2) check that the file exists at the destination after FTP 3) check dest...

Subversion for web designer: repository on a network share and ftp to the live server?

My configuration: htdocs on a windows network share (z:) web developers check out with dreamweaver modify and check in back to the drive z LAMP running on a Ubuntu server virtualized on Hyper-V with apache that point on the z drive for dev in order to test the websites Upload by FTP on the live server Now: I need multiple access to ...

upload file into iphone app via ftp

Hi all! I wish upload a file into my iphone app via ftp ( wifi connection on iphone) like some program as airsharing or iFiles.. which are the first steps to do this?? thanks in advance ...

C# progress bar not synced with download (WebClient class)

Hi, I am coding a system which has a small FTP module included inside, it's not the main feature at all, but needed... I must link the progressbar with the WebClient class event DownloadProgressChangedEventHandler and AsyncCompletedEventHandler, the progressbar increment is ok, and the ASyncCompletedEventHandler launch a MessageBox (as...

PHP/Codeigniter FTP Timout

I'm trying to access an FTP server from my PHP script using Codeigniter's FTP Library. These functions work great, but when testing the script I discovered that if I attempt to connect to a server that does not exist, the script does not terminate with an error message of any kind. The page continues to execute, until the web server giv...

File modified date/time changes when uploaded via FTP

FTP/PHP question here. On one of my pages I load .txt files from a directory. Pretty simple. I also display the modified date of the text file using this: date('m/d/Y', filemtime($file)); This works fine on my WAMP server but when I upload the files via FTP, the modified date is changed to when they were uploaded. I'm currently hostin...

Unable to rename file with c# ftp methods when current user directory is different from root

Hello everyone, Remark: due to spam prevention mechanizm I was forced to replace the beginning of the Uris from ftp:// to ftp. I've got following problem. I have to upload file with C# ftp method and afterwards rename it. Easy, right? :) Ok, let's say my ftp host is like this: ftp.contoso.com and after logging in, current d...

Error with connecting ftp through php ...

Hi, I'm trying to connect to my server using php script to upload some files... But it doesn't connect... I dont know what is the error... I'm sure that ftp is enable, i checked it through php_info() What may be the error... <?php error_reporting(E_ALL); $ftp_server = "server.com"; //address of ftp server (leave out ftp://) $ftp_...

SSIS FTP Task - get FTP result back

I am selecting data from a table using FOR XML and outputting it to a file, then need to only FTP the file if the destination directory is empty. using SSIS, how do i get the result back to base my next step on. If the destination file already exists then it should NOT be overwritten and the items in the transfer should not be marked a...

Proftpd log issue

Hi, I'm developing an application where I read the current changes in certain folders on the server via FTP. The problem is that on files which begin with non-standart symbols as "~" the FTP server doesn't write full path name in the log Here is a part of my log: myuser [14/Jun/2010:20:50:11 +0000] ::ffff:192.168.1.1 [STOR] [/home/myuse...

WebRequest using SSL

I have the following code to retrieve a file using FTP (which works fine). FtpWebRequest request = (FtpWebRequest)WebRequest.Create(svrPath); request.KeepAlive = true; request.UsePassive = true; request.UseBinary = true; request.Method = WebRequestMethods.Ftp.DownloadFile; ...

PHP: Copying file permissions with fileperms and ftp_chmod

The overall goal: Copy the permissions of files from the local filesystem when uploading them over FTP using PHP. The problem: While ftp_chmod appears to succeed, and according to the print statement in the code I'm setting the right permissions, it sets completely wrong permissions. The code: $perms = fileperms($src); if ($perms !==...

If I used ftp_put to upload a file to an ftp server, how would I get the full url of the uploaded file?

For example, I use file_put() to upload file.rar to public_html/rar/. Would it be possible for me to get the web address of that .rar file? ...

Using ftp_*, how could I determine the public html directory?

If I don't know the public web directory, is there a way my script could determine the web directory, so that the script would know which directory to upload the file to? ...

Subversion post-commit hook to sync rep with FTP server ( for a website )

I've installed a repository on my computer locally. What I'm trying to do is be able to work on a website locally on my computer and see changes using something like MAMP. When I commit a change though I'd like it to sync my repo with the live website source files on a remote FTP server. I've done a bit of digging and I know that peopl...

LINUX: how to detect that ftp file upload is finished.

In my project I have a file uploading feature. Files are uploaded via FTP. I need to configure a listener that will check for new files and invoke a script only when file uploading is finished. Because if I run this script immediately after detecting the new file, it can start to process file that is not completely uploaded, which will c...

FTP_NLIST PHP Is bool(false)

Alright well, I connect to 3 different ip's when I run this script. It copys files from directorys and downloads them to the website. I'm having a slight problem with two of them ip's... I have turned on ftp passive but it still seems to come back as bool(false) Updating server 1 bool(false) Warning: ftp_get() [function.ftp-get]: Fi...