ftp

ftp4j - upload a file in append mode

Is there a way to upload a file with ftp4j in append mode? I can't find any reference to that in the documentation or on google. Thank you! ...

URLConnection slow to call getOutputStream using an FTP url

Hi, I have this little piece of code below which uploads a file in java, the code functions correctly however it hangs for a long time when opening the output stream. // open file to upload InputStream filein = new FileInputStream("/path/to/file.txt"); // connect to server URL url = new URL("ftp://user:pass@host/dir/file.txt"); URLConn...

vbscript to grab newest file on ftp site

I need to comeup with a vbscript to grab a file from an ftp site where the file name is in the form "vendor(date)(date)(random#).zip" . These files are updated daily so I need a regex or way to select the newest file on the server and download it. I know how to handle this on the local file system, but I don't know how to determine which...

uploading empty file to ftp with psuedo-file

Hey all, As far as i know it is impossible to create an empty file with ftp, you have to create an empty file on the local drive, upload it, then delete it when you are done. I was wondering if it is possible to do something like: class FakeFile: def read(self): return '\x04' ftpinstance.storbinary('stor fe', FakeFile()) ...

create Ftp Site programatically using C# IIS6

Hi, is there a way to create FTP site as a sibling (not as a child) of the default FTP Site??? I can't find it in google, so for now I'm using scripting: iisftp /create C:\MyFolder "MySiteName" thanks in advance. ...

ANT ftp task QUOT command

Is there any way to get the Ant ftp task to send a QUOT command to the server? ...

How to know what kind of directory listing style the FTP server is using?

I have to create my own FTP client. I found there are two kinds of directory listing styles a FTP server might use, UNIX and MS-DOS. Is there a way that I can send an message to FTP server, to ask what kind of directory it is using? ...

How can I securely transfer files

I need to automatically transfer an xml file from server A over internet to a server B. Ftp works fine, but should I be use a message queue instead? It should be secure in the order that I won't lose messages and be able to log what is transferred. ...

FTP/Host modify my code

I have a php file which work in local, when I send it online it doesn't work so I download it back and it's now on a single line... Basically before I send it via FileZilla FTP : <?php code code code ?> Once I download it back <?phpcodecodecode?> Any idea if it's FTP Client related, host related, enco...

VSFTPD mdtm_write options

Hi, Im trying to preserve the date of the uploaded files with the mdtm_write=YES but i can get this to work. I've tried FileZilla and Windows 7 'Map network drive' but the file dates changes no matter what i try. What am i doing wrong here? ...

PHP ftp_login() not accepting username and password

We're migrating from PHP 4 to 5 (FINALLY!) I need a php script to connect to an external server over SSL-FTP. Long story short, this works on PHP 4, but not 5. <? $user = "USER"; $pass = "PASS"; $conn_id = ftp_ssl_connect("WEBADDRESS.com",21) or die ("could not connect"); $login_result = ftp_login($conn_id,$user,$pass); ?> On 5 it r...

How to search for most recent excel files in remore directories in PYTHON?

This is the code that lists all the subdirectories from FTP server. How do I search for the most recent Excel files sitting in these multiple Subdirectories directory? As shown in the results, I want to go through all the ls**** subdirectories and notify me if there is an Excel file with today's date. Thanks in advance! from ftplib i...

Ruby-Rails serve ftp file direct to client

Hello! I am new to ruby and to rails, so excuse my question... . What i want to know is, how to take a file from a ftp server with ruby without saving the file on my rails application harddrive (streaming the filedata direct to the client). I am working with the ruby Net/FTP class. With the method "retrbinary" from the Net/FTP class i ...

How can I create read-only FTP access for user on Apache server?

I have a web site with lots of pages of photography. In order to allow visitors to download groups of photos without having to save each one individually, I want to create a read-only FTP user that will be publicly available. Via the control panel for the host, I can create "regular" FTP user accounts, but they have write access, which ...

Is MSFTP supposed to delete a partially uploaded file if the upload terminates abruptly?

I have a strange phenomenon: I upload a file to MSFTP Server using my C++ app. When the upload is in progress, I use TaskManager to kill the app, I reconnect to the server and the file has disappeared. Has anyone known this issue before? I do not use any deletion command in my app. ...

Test FTP connection with PHP

I am using the PHP script below to test FTP connections. Currently it is printing an array of the files, if it successfully connects. How can I get it to also display a message, if it is able to connect? Like 'Connection Successful'. $con = ftp_connect($server) or die("Couldn't connect"); ftp_login($con, $username, $password); p...

Can anyone recommend a free FTP client for Linux that allows scheduled transfers?

I'm looking to do nightly backups - copy files from a dev server to my local machine. I'm on Ubuntu Lucid, and currently use FileZilla for FTP, but it doesn't support scheduled transfers and based on their discussion forums, it never will. Can anyone recommend a free, GUI ftp client that supports scheduled transfers and runs on Linux? ...

Approach to automatically upload updated assets to ftp

Say I need to track about 10 big files (each over 1G) over the the LAN shared folder, and if the files get modified/updated/overwritten, I need to upload those new files to ftp, and do some sort of notification like email. But I don't need to version control for older files, so it won't inflate the repository. How could be an easy app...

c# ftp client retry delay

hi, i was able to create a basic ftp client that is working, but i want to make it more robust. one of the features i want to add is retry delay (The time between each retry). unfortunately i couldn't find a lot of materials online. can someone help me? thanks. ...

upload video using FTP

Hello, I have a module which can record a video using iphone camera... and can upload that video using FTP ? I am unable to upload video file using FTP. Any ideas ? ...