ftp

create ftp account in plesk using php

i will create ftp account in plesk using php that ever user register in site can have an ftp account with his username and password . i found many php api for cpanel but in plesk i can't find any thing ? can you help me ? thank you so a lot before ! ...

Can you read registry values directly from a Windows command prompt and use these within standard Windows commands?

I want to FTP some files across networks using Windows FTP command prompt and I want to retrieve the FTP parameters from registry keys I have already setup for another related application. Is there a way to read these parameters in-line direct from the registry as passed values into the FTP command? ...

ftplib checking if a file is a folder?

How can i check if a file on a remote ftp is a folder or not using ftplib? Best way i have right now is to do a nlst, and iterate through calling size on each of the files, if the file errors out then it is a folder? Is there a better way? I cannot parse the output of list, since there is about a dozen different ftp servers(many extrem...

Python Libraries for FTP Upload/Download?

Okay so a bit of forward: We have a service/daemon written in python that monitors remote ftp sites. These sites are not under our command, some of them we do NOT have del/rename/write access, some also are running extremely old ftp software. Such that certain commands do not work. There is no standardization among any of these ftp's, a...

FTP - Only want to keep latest 10 files - delete LRU

Hey everyone, I have created a shell script to backup my webfiles + database dump, put it into a tar archive and FTP it offsite. Id like to run it X times per week however I only want to keep the latest 10 backups on the FTP site. How can I do this best? Should I be doing this work on the shell script side, or is there an FTP command t...

file management controls

so i'm looking for a way to allow users the ability to manage static files in their own directories on my webserver without giving them ftp access. I've seen controls like the one here that does what i want, however i'd like to weigh a few options. any recommendations? ...

How to make Python check if ftp directory exists?

I'm using this script to connect to sample ftp server and list available directories: from ftplib import FTP ftp = FTP('ftp.cwi.nl') # connect to host, default port (some example server, i'll use other one) ftp.login() # user anonymous, passwd anonymous@ ftp.retrlines('LIST') # list directory contents ftp.quit() Ho...

Using FTP Proxy with apache commons-net

I want to set up an FTP connection using a proxy server with Apache's commons-net. But looking at this Does FTPClient support FTP connections through an FTP proxy server? has me worried. I have to meddle with the system properties and the Sun docs state that "If socksProxyHost is specified then all TCP sockets will use the SOCKS proxy ...

Python tell when an ftp transfer sits on completion

I have to download some files from an FTP server. Seems prosaic enough. However, the way this server behaves is if the file is very large, the connection will just hang when the download ostensibly completes. How can I handle this gracefully using ftplib in python? Sample python code: from ftplib import FTP ... ftp = FTP(host) ftp.l...

[c#] FTP Client - Invalid file/folder List from the FTP Server

Hi, I'm developing my own FTP Client in C#, and - what's curious - sometimes (it's started being more then often) I receive invalid (broken) files/folders list from the FTP Server, it looks like that: drwxr--r-- 1 user group 0 Jul 10 08:53 .\r drwxr--r-- 1 user group 0 Jun 19 10:47 NetBeansProjects\r drwxr-...

How to send file via FTP and bypass the quota limit?

Hello. My question is : On my server there are limit of max 2MB file sended by FTP. If I send it by some script in PHP, there are no restriction, and I want to send something around 3.8MB. Any ideas? ...

need to implement versioning in Online backup tool.

Hi Guys, I am working on the developement of a application that will perform online backup of the files and folder in the PC, automatically or manually. Currently, I was keeping only the latest version of the file at the server.Now, I have to implement the versioning so that only the changes can be transfered to the online server and us...

What do you use to upload your files (code/documents) to a live server?

rsync zsync Is there any other better sync/backup tool available on linux. I have a local installation of my site, a wiki. I wish to make changes to my local site both in terms of wiki content/ and plugins/templates, and then just wish to press a button :D or run the command over a folder, it should check for the diff for my local files...

rsync remote site with bash

Hello All Hope you can advise I want to use rsync to carry out my FTP transactions but with bash. How can I add the password to the rsync command. I have for example. rsync -r -update [email protected]:/public_html/ /var/www/domin.com/public_html Hope you can advise. Thank you in advance. ...

Copying files on a remote server over ftp

I use Filezilla to do my FTP duties, and I seem unable to copy files without making a copy to the my local computer. I doubt Filezilla is bad software, so... is this just an inherent quality of FTP? that I can't copy? ...

Silverlight Ftp Upload

Hi I'm working on trying to ftp a file to the server through a silverlight application. Where the location to upload the file on server file system, exists outside the sandbox area for the web server. In this case the web server root exists at "C:\test\www\" and the location to upload the file will exist at "C:\User\Uploads". In this ...

Attaching a file from FTP to PHPMailer class

Hey guys i am trying to automate my system at work for sending artwork to clients, i am trying to make it so i can upload my final artwork pdf files (which i done) then later on when i select to send them an email it will attach it and send it off. I have tried doing it this way $mail->AddAttachment('http://#######.com.au/artwork/14653/...

FTP using Batch file

i want to automate the task of uploading of a file at FTP site "uploads.google.com" how can i achive this ...

How do I open files over FTP with Emacs 22.2.1 on Windows?

AngeFtp? EFS? Is there a better option? Is the preferred option built-in? If so, how do I turn it on? If not, where do I download it? I tried with AngeFtp, just by doing find-file using a filespec like /name@server:/directory and it prompts me for a password, then does the login to the FTP server and gets the contents - it takes ...

Why doesn't passing an array reference for the Host parameter in Net::FTP->new work?

I'm building an FTP client using Net::FTP. The documentation states that the new constructor has a Host option which can be a reference to an array with hosts to try in turn. I don't seem to be able to get this to work. I'm using ActivePerl under Windows XP. Here's my code: @try_these = ("turing.unh.edu", "euler.unh.edu"); $ftp = Net::F...