ftp

Git Push into Production (FTP)

Hi, I would like to know if there is an easy way to push a GIT repository into production (on a FTP server) ? Thanks ...

In .NET, how do you send multiple arguments into a DOS command prompt?

I am trying to execute DOS commands in ASP.NET 2.0. What I have now calls a BAT file which, in turn, calls a CMD file. It works (with the end result being a file gets ftp'ed). However, I'd like to dump the BAT and CMD files and run everything in .NET. What is the format of sending multiple arguments into the command window? Here is what ...

How do I dynamically specify a file in DOS?

I am trying to use c# in .net to run dos commands to ftp a a file. Technically, it calls a BAT file which calls a CMD file which executes the DOS code. It was up to the CMD file. The CMD fiel will work if I hardcode the path, but I need to dynamically specify the path of the file. BAT File... ftp.exe -s:%~dp0\mycmdfile.cmd And in th...

ftp rename command using wildcard

Hi, When using ftp I want to rename a number of file extensions .txt to archive/*.txt to move them to an archive directory. Renaming(moving) individual files no problem but how can I rename a number of files in one go? I thought it might be rename .txt archive/.txt but that's not working. Anybody know? Thanks, ...

FTP script retain timestamp of a file after put

I know that FTP does not support transferring and retaining file date/time stamps Wondering if anyone has any ideas/scripts (Shell/perl) that would retain a transfered file's timestamp after a put operation? ...

need to add secure ftp file upload area to a client's website

This is a variation on a previous question as I am having tons of trouble finding answers in all my relentless online searches. Am designing a website for an architecture firm. They want their clients to be able to upload files to them, through a link on their site, via ftp. They also want to have a sign in for their clients, and ensure...

If I use a DOS put command to ftp a file, will it overwrite an existing file, append to it, or cause an error?

If I use a DOS put command to ftp a file, will it overwrite an existing file, append to it, or cause an error? ...

If I use the ftp.exe in the cmd line and do the APPEND command, but the file does not exist on the remote host, will the file be created?

If I use the ftp.exe in the cmd line and do the APPEND command, but the file does not exist on the remote host, will the file be created? ...

how do I include the full url of the ftp location in a husdon email after a build and publishied via the ftp plugin?

I am using the hudson "Publish artifacts to FTP" task after a build to put an installer up to a web site. I would like to automatically add that link to my email. unfortunately hudson makes up a directory name based on time and date and places the tile there. Is there a way to get that value and put it in the build success email or ot...

How do I specifiy or override the file and path name for ftp publish location after a hudson build?

I am using hudson and the "Publish artifacts to FTP" option. It makes up its own directory based on the date and time of the build. I would like to override that with a fixed name/location. How can I do that? Is it possible? ...

.NET FtpWebRequest not returning DateTimeStamp or FileSize

I'm using FtpWebRequest to connect to an FTP server and I can use WebRequestMethods.Ftp.ListDirectoryDetails to list the directory details fine. However the response from the remote server has day, month and time but not year: -rw-rw-rw- 1 user group 949 Jun 2 08:43 Unsubscribes_20100602.zip -rw-rw-rw- 1 user ...

How to mirror files between two ftps ?

I want to mirror only some files "Not directory". I know PHP ftp function and using them as well, just want to know if any way i can make server to server FXP working. i saw CLI tool lftp but it mirrors dir only. And if there is some other tool that can fxp the files. ...

Upload/Download images to FTP without bothering the user

Hi, I know a lot of posts have been made in regards to FTP, but none have led me to what I need. I'm trying to upload a picture to a server (currently attempting FTP) but do it without notifying requiring the user to be involved. I want to be able to seamlessly upload/download the image when a certain user action occurs, but I don't wa...

php ftp upload problem

Hi I am trying to write a small php function that will upload files to an FTP server and I keep getting the same error but I cannot find any fix by googling the problem, I am hoping you guys can help me here... The error I get is: Warning: ftp_put() [function.ftp-put]: Unable to build data connection: No route to host in . The file wa...

Why would ftp_connect() return false on production server if it works elsewhere for connecting to the same FTP server?

I have a script that uses ftp_connect() among other FTP PHP functions for uploading a file. ftp_connect() works when executed on my local development server for connecting to a remote FTP server. The same script, when executed on the remote server does not work for connecting to the exact same FTP server. Could somebody please point me...

Why does DefaultFileMonitor keep listing the files in my FTP location in a loop?

An edited version of the java code: FileSystemOptions opts = new FileSystemOptions(); DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth); // fileToMonitor is the FTP folder. LOG.debug("Trying to resolve file " + fileToMonitor + "..."); FileObject fo = fileSystemManager.resolveFile(fileToMoni...

Develop multiple very similar projects at once

I am developing a semi-complicated site that is available in several countries at once. Much effort has been put in to make the code bases as similar as possible to one another and ultimately only the config file and some representational data will differ between them. Each project has its own SVN repository which maps directly to a liv...

multiple ftp sites on a single iis server with one ip

can i have multiple iis ftp sites using something similar to web site's unasigned host headers? i have a dedicated server in a hosting facility and want to make a web site for each of my clients. to add/ remove files and content i want ftp access to each of the sites root folders. lets say i have 10 sites set up using unasigned host he...

Generate Windows .lnk file with PHP

Hello, I'm working on a project which involves an FTP server running ProFTPd and a PHP/MySQL backend that creates accounts for users. Upon the creation of accounts, users are sent e-mails with their account details and instructions for downloading FileZilla or CyberDuck, depending on their OS, detected via user-agent string. To make t...

Rails: Is there a way to check for incomplete JPG file upload?

I have a Rails app that processes and serves up jpg files that were uploaded via FTP. On several occasions the FTP process was disconnected and left many incomplete .jpg files. I was surprised to see that the incomplete jpgs behave as normal jpg files in my app even tho they have incomplete image data. I have since implemented a more ...